/*! For license information please see uni-simple-router-v3.mjs.LICENSE.txt */
import*as t from"vue";var e={7579:(t,e,n)=>{var r=n(3656),o=n(9712);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var a,c,u=n(9171).codes,l=u.ERR_AMBIGUOUS_ARGUMENT,s=u.ERR_INVALID_ARG_TYPE,f=u.ERR_INVALID_ARG_VALUE,p=u.ERR_INVALID_RETURN_VALUE,y=u.ERR_MISSING_ARGS,d=n(2839),h=n(911).inspect,g=n(911).types,m=g.isPromise,b=g.isRegExp,v=Object.assign?Object.assign:n(9626).assign,w=Object.is?Object.is:n(2641);function O(){var t=n(8603);a=t.isDeepEqual,c=t.isDeepStrictEqual}new Map;var j=!1,_=t.exports=x,S={};function E(t){if(t.message instanceof Error)throw t.message;throw new d(t)}function A(t,e,n,r){if(!n){var o=!1;if(0===e)o=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var i=new d({actual:n,expected:!0,message:r,operator:"==",stackStartFn:t});throw i.generatedMessage=o,i}}function x(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];A.apply(void 0,[x,e.length].concat(e))}_.fail=function t(e,n,i,a,c){var u,l=arguments.length;if(0===l?u="Failed":1===l?(i=e,e=void 0):(!1===j&&(j=!0,(r.emitWarning?r.emitWarning:o.warn.bind(o))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===l&&(a="!=")),i instanceof Error)throw i;var s={actual:e,expected:n,operator:void 0===a?"fail":a,stackStartFn:c||t};void 0!==i&&(s.message=i);var f=new d(s);throw u&&(f.message=u,f.generatedMessage=!0),f},_.AssertionError=d,_.ok=x,_.equal=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");e!=n&&E({actual:e,expected:n,message:r,operator:"==",stackStartFn:t})},_.notEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");e==n&&E({actual:e,expected:n,message:r,operator:"!=",stackStartFn:t})},_.deepEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O(),a(e,n)||E({actual:e,expected:n,message:r,operator:"deepEqual",stackStartFn:t})},_.notDeepEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O(),a(e,n)&&E({actual:e,expected:n,message:r,operator:"notDeepEqual",stackStartFn:t})},_.deepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O(),c(e,n)||E({actual:e,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:t})},_.notDeepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O(),c(e,n)&&E({actual:e,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:t})},_.strictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");w(e,n)||E({actual:e,expected:n,message:r,operator:"strictEqual",stackStartFn:t})},_.notStrictEqual=function t(e,n,r){if(arguments.length<2)throw new y("actual","expected");w(e,n)&&E({actual:e,expected:n,message:r,operator:"notStrictEqual",stackStartFn:t})};var k=function t(e,n,r){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n.forEach((function(t){t in e&&(void 0!==r&&"string"==typeof r[t]&&b(e[t])&&e[t].test(r[t])?o[t]=r[t]:o[t]=e[t])}))};function P(t,e,n,r){if("function"!=typeof e){if(b(e))return e.test(t);if(2===arguments.length)throw new s("expected",["Function","RegExp"],e);if("object"!==i(t)||null===t){var o=new d({actual:t,expected:e,message:n,operator:"deepStrictEqual",stackStartFn:r});throw o.operator=r.name,o}var u=Object.keys(e);if(e instanceof Error)u.push("name","message");else if(0===u.length)throw new f("error",e,"may not be an empty object");return void 0===a&&O(),u.forEach((function(o){"string"==typeof t[o]&&b(e[o])&&e[o].test(t[o])||function(t,e,n,r,o,i){if(!(n in t)||!c(t[n],e[n])){if(!r){var a=new k(t,o),u=new k(e,o,t),l=new d({actual:a,expected:u,operator:"deepStrictEqual",stackStartFn:i});throw l.actual=t,l.expected=e,l.operator=i.name,l}E({actual:t,expected:e,message:r,operator:i.name,stackStartFn:i})}}(t,e,o,n,u,r)})),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function R(t){if("function"!=typeof t)throw new s("fn","Function",t);try{t()}catch(t){return t}return S}function T(t){return m(t)||null!==t&&"object"===i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function I(t){return Promise.resolve().then((function(){var e;if("function"==typeof t){if(!T(e=t()))throw new p("instance of Promise","promiseFn",e)}else{if(!T(t))throw new s("promiseFn",["Function","Promise"],t);e=t}return Promise.resolve().then((function(){return e})).then((function(){return S})).catch((function(t){return t}))}))}function M(t,e,n,r){if("string"==typeof n){if(4===arguments.length)throw new s("error",["Object","Error","Function","RegExp"],n);if("object"===i(e)&&null!==e){if(e.message===n)throw new l("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===n)throw new l("error/message",'The error "'.concat(e,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==i(n)&&"function"!=typeof n)throw new s("error",["Object","Error","Function","RegExp"],n);if(e===S){var o="";n&&n.name&&(o+=" (".concat(n.name,")")),o+=r?": ".concat(r):".";var a="rejects"===t.name?"rejection":"exception";E({actual:void 0,expected:n,operator:t.name,message:"Missing expected ".concat(a).concat(o),stackStartFn:t})}if(n&&!P(e,n,r,t))throw e}function N(t,e,n,r){if(e!==S){if("string"==typeof n&&(r=n,n=void 0),!n||P(e,n)){var o=r?": ".concat(r):".",i="doesNotReject"===t.name?"rejection":"exception";E({actual:e,expected:n,operator:t.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function F(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];A.apply(void 0,[F,e.length].concat(e))}_.throws=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];M.apply(void 0,[t,R(e)].concat(r))},_.rejects=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return I(e).then((function(e){return M.apply(void 0,[t,e].concat(r))}))},_.doesNotThrow=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];N.apply(void 0,[t,R(e)].concat(r))},_.doesNotReject=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return I(e).then((function(e){return N.apply(void 0,[t,e].concat(r))}))},_.ifError=function t(e){if(null!=e){var n="ifError got unwanted exception: ";"object"===i(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?n+=e.constructor.name:n+=e.message:n+=h(e);var r=new d({actual:e,expected:null,operator:"ifError",message:n,stackStartFn:t}),o=e.stack;if("string"==typeof o){var a=o.split("\n");a.shift();for(var c=r.stack.split("\n"),u=0;u<a.length;u++){var l=c.indexOf(a[u]);if(-1!==l){c=c.slice(0,l);break}}r.stack="".concat(c.join("\n"),"\n").concat(a.join("\n"))}throw r}},_.strict=v(F,_,{equal:_.strictEqual,deepEqual:_.deepStrictEqual,notEqual:_.notStrictEqual,notDeepEqual:_.notDeepStrictEqual}),_.strict.strict=_.strict},2839:(t,e,n)=>{var r=n(3656);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e="function"==typeof Map?new Map:void 0;return u=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return l(t,arguments,f(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,t)},u(t)}function l(t,e,n){return l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&s(o,n.prototype),o},l.apply(null,arguments)}function s(t,e){return s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},s(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}var y=n(911).inspect,d=n(9171).codes.ERR_INVALID_ARG_TYPE;function h(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}var g="",m="",b="",v="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function O(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){n[e]=t[e]})),Object.defineProperty(n,"message",{value:t.message}),n}function j(t){return y(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var _=function(t){function e(t){var n;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==p(t)||null===t)throw new d("options","Object",t);var o=t.message,i=t.operator,u=t.stackStartFn,l=t.actual,s=t.expected,y=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)n=a(this,f(e).call(this,String(o)));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(g="[34m",m="[32m",v="[39m",b="[31m"):(g="",m="",v="",b="")),"object"===p(l)&&null!==l&&"object"===p(s)&&null!==s&&"stack"in l&&l instanceof Error&&"stack"in s&&s instanceof Error&&(l=O(l),s=O(s)),"deepStrictEqual"===i||"strictEqual"===i)n=a(this,f(e).call(this,function(t,e,n){var o="",i="",a=0,c="",u=!1,l=j(t),s=l.split("\n"),f=j(e).split("\n"),y=0,d="";if("strictEqual"===n&&"object"===p(t)&&"object"===p(e)&&null!==t&&null!==e&&(n="strictEqualObject"),1===s.length&&1===f.length&&s[0]!==f[0]){var O=s[0].length+f[0].length;if(O<=10){if(!("object"===p(t)&&null!==t||"object"===p(e)&&null!==e||0===t&&0===e))return"".concat(w[n],"\n\n")+"".concat(s[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==n&&O<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;s[0][y]===f[0][y];)y++;y>2&&(d="\n  ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,n-t.length)}(" ",y),"^"),y=0)}}for(var _=s[s.length-1],S=f[f.length-1];_===S&&(y++<2?c="\n  ".concat(_).concat(c):o=_,s.pop(),f.pop(),0!==s.length&&0!==f.length);)_=s[s.length-1],S=f[f.length-1];var E=Math.max(s.length,f.length);if(0===E){var A=l.split("\n");if(A.length>30)for(A[26]="".concat(g,"...").concat(v);A.length>27;)A.pop();return"".concat(w.notIdentical,"\n\n").concat(A.join("\n"),"\n")}y>3&&(c="\n".concat(g,"...").concat(v).concat(c),u=!0),""!==o&&(c="\n  ".concat(o).concat(c),o="");var x=0,k=w[n]+"\n".concat(m,"+ actual").concat(v," ").concat(b,"- expected").concat(v),P=" ".concat(g,"...").concat(v," Lines skipped");for(y=0;y<E;y++){var R=y-a;if(s.length<y+1)R>1&&y>2&&(R>4?(i+="\n".concat(g,"...").concat(v),u=!0):R>3&&(i+="\n  ".concat(f[y-2]),x++),i+="\n  ".concat(f[y-1]),x++),a=y,o+="\n".concat(b,"-").concat(v," ").concat(f[y]),x++;else if(f.length<y+1)R>1&&y>2&&(R>4?(i+="\n".concat(g,"...").concat(v),u=!0):R>3&&(i+="\n  ".concat(s[y-2]),x++),i+="\n  ".concat(s[y-1]),x++),a=y,i+="\n".concat(m,"+").concat(v," ").concat(s[y]),x++;else{var T=f[y],I=s[y],M=I!==T&&(!h(I,",")||I.slice(0,-1)!==T);M&&h(T,",")&&T.slice(0,-1)===I&&(M=!1,I+=","),M?(R>1&&y>2&&(R>4?(i+="\n".concat(g,"...").concat(v),u=!0):R>3&&(i+="\n  ".concat(s[y-2]),x++),i+="\n  ".concat(s[y-1]),x++),a=y,i+="\n".concat(m,"+").concat(v," ").concat(I),o+="\n".concat(b,"-").concat(v," ").concat(T),x+=2):(i+=o,o="",1!==R&&0!==y||(i+="\n  ".concat(I),x++))}if(x>20&&y<E-2)return"".concat(k).concat(P,"\n").concat(i,"\n").concat(g,"...").concat(v).concat(o,"\n")+"".concat(g,"...").concat(v)}return"".concat(k).concat(u?P:"","\n").concat(i).concat(o).concat(c).concat(d)}(l,s,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var _=w[i],S=j(l).split("\n");if("notStrictEqual"===i&&"object"===p(l)&&null!==l&&(_=w.notStrictEqualObject),S.length>30)for(S[26]="".concat(g,"...").concat(v);S.length>27;)S.pop();n=1===S.length?a(this,f(e).call(this,"".concat(_," ").concat(S[0]))):a(this,f(e).call(this,"".concat(_,"\n\n").concat(S.join("\n"),"\n")))}else{var E=j(l),A="",x=w[i];"notDeepEqual"===i||"notEqual"===i?(E="".concat(w[i],"\n\n").concat(E)).length>1024&&(E="".concat(E.slice(0,1021),"...")):(A="".concat(j(s)),E.length>512&&(E="".concat(E.slice(0,509),"...")),A.length>512&&(A="".concat(A.slice(0,509),"...")),"deepEqual"===i||"equal"===i?E="".concat(x,"\n\n").concat(E,"\n\nshould equal\n\n"):A=" ".concat(i," ").concat(A)),n=a(this,f(e).call(this,"".concat(E).concat(A)))}return Error.stackTraceLimit=y,n.generatedMessage=!o,Object.defineProperty(c(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=l,n.expected=s,n.operator=i,Error.captureStackTrace&&Error.captureStackTrace(c(n),u),n.stack,n.name="AssertionError",a(n)}var n,u;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(e,t),n=e,u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:y.custom,value:function(t,e){return y(this,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}({},e,{customInspect:!1,depth:0}))}}],u&&i(n.prototype,u),e}(u(Error));t.exports=_},9171:(t,e,n)=>{function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function i(t,e){return i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},i(t,e)}var a,c,u={};function l(t,e,n){n||(n=Error);var a=function(n){function a(n,i,c){var u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),u=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,o(a).call(this,function(t,n,r){return"string"==typeof e?e:e(t,n,r)}(n,i,c))),u.code=t,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(a,n),a}(n);u[t]=a}function s(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",(function(t,e,o){var i,c,u,l,f;if(void 0===a&&(a=n(7579)),a("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(c="not ",e.substr(0,c.length)===c)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))u="The ".concat(t," ").concat(i," ").concat(s(e,"type"));else{var p=("number"!=typeof f&&(f=0),f+".".length>(l=t).length||-1===l.indexOf(".",f)?"argument":"property");u='The "'.concat(t,'" ').concat(p," ").concat(i," ").concat(s(e,"type"))}return u+". Received type ".concat(r(o))}),TypeError),l("ERR_INVALID_ARG_VALUE",(function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(911));var o=c.inspect(e);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(r,". Received ").concat(o)}),TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",(function(t,e,n){var o;return o=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(o,".")}),TypeError),l("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];void 0===a&&(a=n(7579)),a(e.length>0,"At least one arg needs to be specified");var o="The ",i=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),i){case 1:o+="".concat(e[0]," argument");break;case 2:o+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:o+=e.slice(0,i-1).join(", "),o+=", and ".concat(e[i-1]," arguments")}return"".concat(o," must be specified")}),TypeError),t.exports.codes=u},8603:(t,e,n)=>{function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var i=void 0!==/a/g.flags,a=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},c=function(t){var e=[];return t.forEach((function(t,n){return e.push([n,t])})),e},u=Object.is?Object.is:n(2641),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},s=Number.isNaN?Number.isNaN:n(9736);function f(t){return t.call.bind(t)}var p=f(Object.prototype.hasOwnProperty),y=f(Object.prototype.propertyIsEnumerable),d=f(Object.prototype.toString),h=n(911).types,g=h.isAnyArrayBuffer,m=h.isArrayBufferView,b=h.isDate,v=h.isMap,w=h.isRegExp,O=h.isSet,j=h.isNativeError,_=h.isBoxedPrimitive,S=h.isNumberObject,E=h.isStringObject,A=h.isBooleanObject,x=h.isBigIntObject,k=h.isSymbolObject,P=h.isFloat32Array,R=h.isFloat64Array;function T(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n<48||n>57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function I(t){return Object.keys(t).filter(T).concat(l(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function M(t,e){if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0}var N=0,F=1,$=2,q=3;function D(t,e,n,r){if(t===e)return 0!==t||!n||u(t,e);if(n){if("object"!==o(t))return"number"==typeof t&&s(t)&&s(e);if("object"!==o(e)||null===t||null===e)return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==o(t))return(null===e||"object"!==o(e))&&t==e;if(null===e||"object"!==o(e))return!1}var a,c,l,f,p=d(t);if(p!==d(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var y=I(t),h=I(e);return y.length===h.length&&B(t,e,n,r,F,y)}if("[object Object]"===p&&(!v(t)&&v(e)||!O(t)&&O(e)))return!1;if(b(t)){if(!b(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(w(t)){if(!w(e)||(l=t,f=e,!(i?l.source===f.source&&l.flags===f.flags:RegExp.prototype.toString.call(l)===RegExp.prototype.toString.call(f))))return!1}else if(j(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(m(t)){if(n||!P(t)&&!R(t)){if(!function(t,e){return t.byteLength===e.byteLength&&0===M(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}(t,e))return!1}else if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var n=0;n<t.byteLength;n++)if(t[n]!==e[n])return!1;return!0}(t,e))return!1;var T=I(t),D=I(e);return T.length===D.length&&B(t,e,n,r,N,T)}if(O(t))return!(!O(e)||t.size!==e.size)&&B(t,e,n,r,$);if(v(t))return!(!v(e)||t.size!==e.size)&&B(t,e,n,r,q);if(g(t)){if(c=e,(a=t).byteLength!==c.byteLength||0!==M(new Uint8Array(a),new Uint8Array(c)))return!1}else if(_(t)&&!function(t,e){return S(t)?S(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):E(t)?E(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):A(t)?A(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):x(t)?x(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):k(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}(t,e))return!1}return B(t,e,n,r,N)}function U(t,e){return e.filter((function(e){return y(t,e)}))}function B(t,e,n,i,u,s){if(5===arguments.length){s=Object.keys(t);var f=Object.keys(e);if(s.length!==f.length)return!1}for(var d=0;d<s.length;d++)if(!p(e,s[d]))return!1;if(n&&5===arguments.length){var h=l(t);if(0!==h.length){var g=0;for(d=0;d<h.length;d++){var m=h[d];if(y(t,m)){if(!y(e,m))return!1;s.push(m),g++}else if(y(e,m))return!1}var b=l(e);if(h.length!==b.length&&U(e,b).length!==g)return!1}else{var v=l(e);if(0!==v.length&&0!==U(e,v).length)return!1}}if(0===s.length&&(u===N||u===F&&0===t.length||0===t.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var w=i.val1.get(t);if(void 0!==w){var O=i.val2.get(e);if(void 0!==O)return w===O}i.position++}i.val1.set(t,i.position),i.val2.set(e,i.position);var j=function(t,e,n,i,u,l){var s=0;if(l===$){if(!function(t,e,n,r){for(var i=null,c=a(t),u=0;u<c.length;u++){var l=c[u];if("object"===o(l)&&null!==l)null===i&&(i=new Set),i.add(l);else if(!e.has(l)){if(n)return!1;if(!H(t,e,l))return!1;null===i&&(i=new Set),i.add(l)}}if(null!==i){for(var s=a(e),f=0;f<s.length;f++){var p=s[f];if("object"===o(p)&&null!==p){if(!C(i,p,n,r))return!1}else if(!n&&!t.has(p)&&!C(i,p,n,r))return!1}return 0===i.size}return!0}(t,e,n,u))return!1}else if(l===q){if(!function(t,e,n,i){for(var a=null,u=c(t),l=0;l<u.length;l++){var s=r(u[l],2),f=s[0],p=s[1];if("object"===o(f)&&null!==f)null===a&&(a=new Set),a.add(f);else{var y=e.get(f);if(void 0===y&&!e.has(f)||!D(p,y,n,i)){if(n)return!1;if(!W(t,e,f,p,i))return!1;null===a&&(a=new Set),a.add(f)}}}if(null!==a){for(var d=c(e),h=0;h<d.length;h++){var g=r(d[h],2),m=(f=g[0],g[1]);if("object"===o(f)&&null!==f){if(!G(a,t,f,m,n,i))return!1}else if(!(n||t.has(f)&&D(t.get(f),m,!1,i)||G(a,t,f,m,!1,i)))return!1}return 0===a.size}return!0}(t,e,n,u))return!1}else if(l===F)for(;s<t.length;s++){if(!p(t,s)){if(p(e,s))return!1;for(var f=Object.keys(t);s<f.length;s++){var y=f[s];if(!p(e,y)||!D(t[y],e[y],n,u))return!1}return f.length===Object.keys(e).length}if(!p(e,s)||!D(t[s],e[s],n,u))return!1}for(s=0;s<i.length;s++){var d=i[s];if(!D(t[d],e[d],n,u))return!1}return!0}(t,e,n,s,i,u);return i.val1.delete(t),i.val2.delete(e),j}function C(t,e,n,r){for(var o=a(t),i=0;i<o.length;i++){var c=o[i];if(D(e,c,n,r))return t.delete(c),!0}return!1}function L(t){switch(o(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(s(t))return!1}return!0}function H(t,e,n){var r=L(n);return null!=r?r:e.has(r)&&!t.has(r)}function W(t,e,n,r,o){var i=L(n);if(null!=i)return i;var a=e.get(i);return!(void 0===a&&!e.has(i)||!D(r,a,!1,o))&&!t.has(i)&&D(r,a,!1,o)}function G(t,e,n,r,o,i){for(var c=a(t),u=0;u<c.length;u++){var l=c[u];if(D(n,l,o,i)&&D(r,e.get(l),o,i))return t.delete(l),!0}return!1}t.exports={isDeepEqual:function(t,e){return D(t,e,!1)},isDeepStrictEqual:function(t,e){return D(t,e,!0)}}},2864:(t,e,n)=>{var r=n(1013),o=n(5592),i=o(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&i(t,".prototype.")>-1?o(n):n}},5592:(t,e,n)=>{var r=n(2698),o=n(1013),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){var e=c(r,a,arguments);return u&&l&&u(e,"length").configurable&&l(e,"length",{value:1+s(0,t.length-(arguments.length-1))}),e};var f=function(){return c(r,i,arguments)};l?l(t.exports,"apply",{value:f}):t.exports.apply=f},9712:(t,e,n)=>{var r=n(911),o=n(7579);function i(){return(new Date).getTime()}var a,c=Array.prototype.slice,u={};a=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var l=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(t){u[t]=i()},"time"],[function(t){var e=u[t];if(!e)throw new Error("No such label: "+t);delete u[t];var n=i()-e;a.log(t+": "+n+"ms")},"timeEnd"],[function(){var t=new Error;t.name="Trace",t.message=r.format.apply(null,arguments),a.error(t.stack)},"trace"],[function(t){a.log(r.inspect(t)+"\n")},"dir"],[function(t){if(!t){var e=c.call(arguments,1);o.ok(!1,r.format.apply(null,e))}},"assert"]],s=0;s<l.length;s++){var f=l[s],p=f[0],y=f[1];a[y]||(a[y]=p)}t.exports=a},6648:(t,e,n)=>{var r=n(3571),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,c=Object.defineProperty,u=n(138)(),l=c&&u,s=function(t,e,n,r){if(e in t)if(!0===r){if(t[e]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;l?c(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n},f=function(t,e){var n=arguments.length>2?arguments[2]:{},i=r(e);o&&(i=a.call(i,Object.getOwnPropertySymbols(e)));for(var c=0;c<i.length;c+=1)s(t,i[c],e[i[c]],n[i[c]])};f.supportsDescriptors=!!l,t.exports=f},9626:t=>{function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i=Object.keys(Object(o)),a=0,c=i.length;a<c;a++){var u=i[a],l=Object.getOwnPropertyDescriptor(o,u);void 0!==l&&l.enumerable&&(n[u]=o[u])}}return n}t.exports={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}},98:(t,e,n)=>{var r=n(9861),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){if(!r(e))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===o.call(t)?function(t,e,n){for(var r=0,o=t.length;r<o;r++)i.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))}(t,e,a):"string"==typeof t?function(t,e,n){for(var r=0,o=t.length;r<o;r++)null==n?e(t.charAt(r),r,t):e.call(n,t.charAt(r),r,t)}(t,e,a):function(t,e,n){for(var r in t)i.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))}(t,e,a)}},9748:t=>{var e=Array.prototype.slice,n=Object.prototype.toString;t.exports=function(t){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,i=e.call(arguments,1),a=Math.max(0,r.length-i.length),c=[],u=0;u<a;u++)c.push("$"+u);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,i.concat(e.call(arguments)));return Object(n)===n?n:this}return r.apply(t,i.concat(e.call(arguments)))})),r.prototype){var l=function(){};l.prototype=r.prototype,o.prototype=new l,l.prototype=null}return o}},2698:(t,e,n)=>{var r=n(9748);t.exports=Function.prototype.bind||r},1013:(t,e,n)=>{var r,o=SyntaxError,i=Function,a=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var l=function(){throw new a},s=u?function(){try{return l}catch(t){try{return u(arguments,"callee").get}catch(t){return l}}}():l,f=n(2770)(),p=Object.getPrototypeOf||function(t){return t.__proto__},y={},d="undefined"==typeof Uint8Array?r:p(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?p(p([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?p(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":s,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};try{null.error}catch(t){var g=p(p(t));h["%Error.prototype%"]=g}var m=function t(e){var n;if("%AsyncFunction%"===e)n=c("async function () {}");else if("%GeneratorFunction%"===e)n=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=c("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(n=p(o.prototype))}return h[e]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(2698),w=n(2786),O=v.call(Function.call,Array.prototype.concat),j=v.call(Function.apply,Array.prototype.splice),_=v.call(Function.call,String.prototype.replace),S=v.call(Function.call,String.prototype.slice),E=v.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,k=function(t,e){var n,r=t;if(w(b,r)&&(r="%"+(n=b[r])[0]+"%"),w(h,r)){var i=h[r];if(i===y&&(i=m(r)),void 0===i&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,t))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=S(t,0,1),n=S(t,-1);if("%"===e&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return _(t,A,(function(t,e,n,o){r[r.length]=n?_(o,x,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",i=k("%"+r+"%",e),c=i.name,l=i.value,s=!1,f=i.alias;f&&(r=f[0],j(n,O([0,1],f)));for(var p=1,y=!0;p<n.length;p+=1){var d=n[p],g=S(d,0,1),m=S(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===m||"'"===m||"`"===m)&&g!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(s=!0),w(h,c="%"+(r+="."+d)+"%"))l=h[c];else if(null!=l){if(!(d in l)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(u&&p+1>=n.length){var b=u(l,d);l=(y=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:l[d]}else y=w(l,d),l=l[d];y&&!s&&(h[c]=l)}}return l}},8158:(t,e,n)=>{var r=n(1013)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(t){r=null}t.exports=r},138:(t,e,n)=>{var r=n(1013)("%Object.defineProperty%",!0),o=function(){if(r)try{return r({},"a",{value:1}),!0}catch(t){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},2770:(t,e,n)=>{var r="undefined"!=typeof Symbol&&Symbol,o=n(9578);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},9578:t=>{t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3342:(t,e,n)=>{var r=n(9578);t.exports=function(){return r()&&!!Symbol.toStringTag}},2786:(t,e,n)=>{var r=n(2698);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},7483:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},9462:(t,e,n)=>{var r=n(3342)(),o=n(2864)("Object.prototype.toString"),i=function(t){return!(r&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},a=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},c=function(){return i(arguments)}();i.isLegacyArguments=a,t.exports=c?i:a},9861:t=>{var e,n,r=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,e)}catch(t){t!==n&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(t){try{var e=r.call(t);return i.test(e)}catch(t){return!1}},c=function(t){try{return!a(t)&&(r.call(t),!0)}catch(t){return!1}},u=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,s=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(f=function(t){if((s||!t)&&(void 0===t||"object"==typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=o?function(t){if(f(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{o(t,null,e)}catch(t){if(t!==n)return!1}return!a(t)&&c(t)}:function(t){if(f(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(l)return c(t);if(a(t))return!1;var e=u.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&c(t)}},7136:(t,e,n)=>{var r,o=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,c=n(3342)(),u=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(a.test(i.call(t)))return!0;if(!c)return"[object GeneratorFunction]"===o.call(t);if(!u)return!1;if(void 0===r){var e=function(){if(!c)return!1;try{return Function("return function*() {}")()}catch(t){}}();r=!!e&&u(e)}return u(t)===r}},9029:t=>{t.exports=function(t){return t!=t}},9736:(t,e,n)=>{var r=n(5592),o=n(6648),i=n(9029),a=n(6240),c=n(4645),u=r(a(),Number);o(u,{getPolyfill:a,implementation:i,shim:c}),t.exports=u},6240:(t,e,n)=>{var r=n(9029);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},4645:(t,e,n)=>{var r=n(6648),o=n(6240);t.exports=function(){var t=o();return r(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},1407:(t,e,n)=>{var r=n(98),o=n(3719),i=n(2864),a=i("Object.prototype.toString"),c=n(3342)(),u=n(8158),l="undefined"==typeof globalThis?n.g:globalThis,s=o(),f=i("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n<t.length;n+=1)if(t[n]===e)return n;return-1},p=i("String.prototype.slice"),y={},d=Object.getPrototypeOf;c&&u&&d&&r(s,(function(t){var e=new l[t];if(Symbol.toStringTag in e){var n=d(e),r=u(n,Symbol.toStringTag);if(!r){var o=d(n);r=u(o,Symbol.toStringTag)}y[t]=r.get}})),t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!c||!(Symbol.toStringTag in t)){var e=p(a(t),8,-1);return f(s,e)>-1}return!!u&&function(t){var e=!1;return r(y,(function(n,r){if(!e)try{e=n.call(t)===r}catch(t){}})),e}(t)}},22:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Boolean]",c="[object Date]",u="[object Function]",l="[object GeneratorFunction]",s="[object Map]",f="[object Number]",p="[object Object]",y="[object Promise]",d="[object RegExp]",h="[object Set]",g="[object String]",m="[object Symbol]",b="[object WeakMap]",v="[object ArrayBuffer]",w="[object DataView]",O="[object Float32Array]",j="[object Float64Array]",_="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",x="[object Uint8ClampedArray]",k="[object Uint16Array]",P="[object Uint32Array]",R=/\w*$/,T=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,M={};M[i]=M["[object Array]"]=M[v]=M[w]=M[a]=M[c]=M[O]=M[j]=M[_]=M[S]=M[E]=M[s]=M[f]=M[p]=M[d]=M[h]=M[g]=M[m]=M[A]=M[x]=M[k]=M[P]=!0,M["[object Error]"]=M[u]=M[b]=!1;var N="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,F="object"==typeof self&&self&&self.Object===Object&&self,$=N||F||Function("return this")(),q=e&&!e.nodeType&&e,D=q&&t&&!t.nodeType&&t,U=D&&D.exports===q;function B(t,e){return t.set(e[0],e[1]),t}function C(t,e){return t.add(e),t}function L(t,e,n,r){var o=-1,i=t?t.length:0;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function H(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function W(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function G(t,e){return function(n){return t(e(n))}}function z(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var V,J=Array.prototype,Q=Function.prototype,Y=Object.prototype,Z=$["__core-js_shared__"],X=(V=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",K=Q.toString,tt=Y.hasOwnProperty,et=Y.toString,nt=RegExp("^"+K.call(tt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=U?$.Buffer:void 0,ot=$.Symbol,it=$.Uint8Array,at=G(Object.getPrototypeOf,Object),ct=Object.create,ut=Y.propertyIsEnumerable,lt=J.splice,st=Object.getOwnPropertySymbols,ft=rt?rt.isBuffer:void 0,pt=G(Object.keys,Object),yt=$t($,"DataView"),dt=$t($,"Map"),ht=$t($,"Promise"),gt=$t($,"Set"),mt=$t($,"WeakMap"),bt=$t(Object,"create"),vt=Ct(yt),wt=Ct(dt),Ot=Ct(ht),jt=Ct(gt),_t=Ct(mt),St=ot?ot.prototype:void 0,Et=St?St.valueOf:void 0;function At(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function xt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function kt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Pt(t){this.__data__=new xt(t)}function Rt(t,e,n){var r=t[e];tt.call(t,e)&&Lt(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function Tt(t,e){for(var n=t.length;n--;)if(Lt(t[n][0],e))return n;return-1}function It(t,e,n,r,o,y,b){var T;if(r&&(T=y?r(t,o,y,b):r(t)),void 0!==T)return T;if(!Vt(t))return t;var I=Ht(t);if(I){if(T=function(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&tt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!e)return function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}(t,T)}else{var N=Dt(t),F=N==u||N==l;if(Gt(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(N==p||N==i||F&&!y){if(H(t))return y?t:{};if(T=function(t){return"function"!=typeof t.constructor||Bt(t)?{}:Vt(e=at(t))?ct(e):{};var e}(F?{}:t),!e)return function(t,e){return Nt(t,qt(t),e)}(t,function(t,e){return t&&Nt(e,Jt(e),t)}(T,t))}else{if(!M[N])return y?t:{};T=function(t,e,n,r){var o,i=t.constructor;switch(e){case v:return Mt(t);case a:case c:return new i(+t);case w:return function(t,e){var n=e?Mt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case O:case j:case _:case S:case E:case A:case x:case k:case P:return function(t,e){var n=e?Mt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case s:return function(t,e,n){return L(e?n(W(t),!0):W(t),B,new t.constructor)}(t,r,n);case f:case g:return new i(t);case d:return function(t){var e=new t.constructor(t.source,R.exec(t));return e.lastIndex=t.lastIndex,e}(t);case h:return function(t,e,n){return L(e?n(z(t),!0):z(t),C,new t.constructor)}(t,r,n);case m:return o=t,Et?Object(Et.call(o)):{}}}(t,N,It,e)}}b||(b=new Pt);var $=b.get(t);if($)return $;if(b.set(t,T),!I)var q=n?function(t){return function(t,e,n){var r=e(t);return Ht(t)?r:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(r,n(t))}(t,Jt,qt)}(t):Jt(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n););}(q||t,(function(o,i){q&&(o=t[i=o]),Rt(T,i,It(o,e,n,r,i,t,b))})),T}function Mt(t){var e=new t.constructor(t.byteLength);return new it(e).set(new it(t)),e}function Nt(t,e,n,r){n||(n={});for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;Rt(n,a,void 0===c?t[a]:c)}return n}function Ft(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function $t(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Vt(t)||(e=t,X&&X in e))&&(zt(t)||H(t)?nt:T).test(Ct(t));var e}(n)?n:void 0}At.prototype.clear=function(){this.__data__=bt?bt(null):{}},At.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},At.prototype.get=function(t){var e=this.__data__;if(bt){var n=e[t];return n===r?void 0:n}return tt.call(e,t)?e[t]:void 0},At.prototype.has=function(t){var e=this.__data__;return bt?void 0!==e[t]:tt.call(e,t)},At.prototype.set=function(t,e){return this.__data__[t]=bt&&void 0===e?r:e,this},xt.prototype.clear=function(){this.__data__=[]},xt.prototype.delete=function(t){var e=this.__data__,n=Tt(e,t);return!(n<0||(n==e.length-1?e.pop():lt.call(e,n,1),0))},xt.prototype.get=function(t){var e=this.__data__,n=Tt(e,t);return n<0?void 0:e[n][1]},xt.prototype.has=function(t){return Tt(this.__data__,t)>-1},xt.prototype.set=function(t,e){var n=this.__data__,r=Tt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},kt.prototype.clear=function(){this.__data__={hash:new At,map:new(dt||xt),string:new At}},kt.prototype.delete=function(t){return Ft(this,t).delete(t)},kt.prototype.get=function(t){return Ft(this,t).get(t)},kt.prototype.has=function(t){return Ft(this,t).has(t)},kt.prototype.set=function(t,e){return Ft(this,t).set(t,e),this},Pt.prototype.clear=function(){this.__data__=new xt},Pt.prototype.delete=function(t){return this.__data__.delete(t)},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof xt){var r=n.__data__;if(!dt||r.length<199)return r.push([t,e]),this;n=this.__data__=new kt(r)}return n.set(t,e),this};var qt=st?G(st,Object):function(){return[]},Dt=function(t){return et.call(t)};function Ut(t,e){return!!(e=null==e?o:e)&&("number"==typeof t||I.test(t))&&t>-1&&t%1==0&&t<e}function Bt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Y)}function Ct(t){if(null!=t){try{return K.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Lt(t,e){return t===e||t!=t&&e!=e}(yt&&Dt(new yt(new ArrayBuffer(1)))!=w||dt&&Dt(new dt)!=s||ht&&Dt(ht.resolve())!=y||gt&&Dt(new gt)!=h||mt&&Dt(new mt)!=b)&&(Dt=function(t){var e=et.call(t),n=e==p?t.constructor:void 0,r=n?Ct(n):void 0;if(r)switch(r){case vt:return w;case wt:return s;case Ot:return y;case jt:return h;case _t:return b}return e});var Ht=Array.isArray;function Wt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}(t.length)&&!zt(t)}var Gt=ft||function(){return!1};function zt(t){var e=Vt(t)?et.call(t):"";return e==u||e==l}function Vt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Jt(t){return Wt(t)?function(t,e){var n=Ht(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Wt(t)}(t)&&tt.call(t,"callee")&&(!ut.call(t,"callee")||et.call(t)==i)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var a in t)!e&&!tt.call(t,a)||o&&("length"==a||Ut(a,r))||n.push(a);return n}(t):function(t){if(!Bt(t))return pt(t);var e=[];for(var n in Object(t))tt.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return It(t,!0,!0)}},7361:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,c="[object Arguments]",u="[object Array]",l="[object AsyncFunction]",s="[object Boolean]",f="[object Date]",p="[object Error]",y="[object Function]",d="[object GeneratorFunction]",h="[object Map]",g="[object Number]",m="[object Null]",b="[object Object]",v="[object Promise]",w="[object Proxy]",O="[object RegExp]",j="[object Set]",_="[object String]",S="[object Undefined]",E="[object WeakMap]",A="[object ArrayBuffer]",x="[object DataView]",k=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,R={};R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R[c]=R[u]=R[A]=R[s]=R[x]=R[f]=R[p]=R[y]=R[h]=R[g]=R[b]=R[O]=R[j]=R[_]=R[E]=!1;var T="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,I="object"==typeof self&&self&&self.Object===Object&&self,M=T||I||Function("return this")(),N=e&&!e.nodeType&&e,F=N&&t&&!t.nodeType&&t,$=F&&F.exports===N,q=$&&T.process,D=function(){try{return q&&q.binding&&q.binding("util")}catch(t){}}(),U=D&&D.isTypedArray;function B(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function C(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function L(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var H,W,G,z=Array.prototype,V=Function.prototype,J=Object.prototype,Q=M["__core-js_shared__"],Y=V.toString,Z=J.hasOwnProperty,X=(H=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+H:"",K=J.toString,tt=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),et=$?M.Buffer:void 0,nt=M.Symbol,rt=M.Uint8Array,ot=J.propertyIsEnumerable,it=z.splice,at=nt?nt.toStringTag:void 0,ct=Object.getOwnPropertySymbols,ut=et?et.isBuffer:void 0,lt=(W=Object.keys,G=Object,function(t){return W(G(t))}),st=Ft(M,"DataView"),ft=Ft(M,"Map"),pt=Ft(M,"Promise"),yt=Ft(M,"Set"),dt=Ft(M,"WeakMap"),ht=Ft(Object,"create"),gt=Ut(st),mt=Ut(ft),bt=Ut(pt),vt=Ut(yt),wt=Ut(dt),Ot=nt?nt.prototype:void 0,jt=Ot?Ot.valueOf:void 0;function _t(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function St(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Et(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function At(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Et;++e<n;)this.add(t[e])}function xt(t){var e=this.__data__=new St(t);this.size=e.size}function kt(t,e){for(var n=t.length;n--;)if(Bt(t[n][0],e))return n;return-1}function Pt(t){return null==t?void 0===t?S:m:at&&at in Object(t)?function(t){var e=Z.call(t,at),n=t[at];try{t[at]=void 0;var r=!0}catch(t){}var o=K.call(t);return r&&(e?t[at]=n:delete t[at]),o}(t):function(t){return K.call(t)}(t)}function Rt(t){return Vt(t)&&Pt(t)==c}function Tt(t,e,n,r,a){return t===e||(null==t||null==e||!Vt(t)&&!Vt(e)?t!=t&&e!=e:function(t,e,n,r,a,l){var y=Lt(t),d=Lt(e),m=y?u:qt(t),v=d?u:qt(e),w=(m=m==c?b:m)==b,S=(v=v==c?b:v)==b,E=m==v;if(E&&Ht(t)){if(!Ht(e))return!1;y=!0,w=!1}if(E&&!w)return l||(l=new xt),y||Jt(t)?It(t,e,n,r,a,l):function(t,e,n,r,a,c,u){switch(n){case x:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case A:return!(t.byteLength!=e.byteLength||!c(new rt(t),new rt(e)));case s:case f:case g:return Bt(+t,+e);case p:return t.name==e.name&&t.message==e.message;case O:case _:return t==e+"";case h:var l=C;case j:var y=r&o;if(l||(l=L),t.size!=e.size&&!y)return!1;var d=u.get(t);if(d)return d==e;r|=i,u.set(t,e);var m=It(l(t),l(e),r,a,c,u);return u.delete(t),m;case"[object Symbol]":if(jt)return jt.call(t)==jt.call(e)}return!1}(t,e,m,n,r,a,l);if(!(n&o)){var k=w&&Z.call(t,"__wrapped__"),P=S&&Z.call(e,"__wrapped__");if(k||P){var R=k?t.value():t,T=P?e.value():e;return l||(l=new xt),a(R,T,n,r,l)}}return!!E&&(l||(l=new xt),function(t,e,n,r,i,a){var c=n&o,u=Mt(t),l=u.length;if(l!=Mt(e).length&&!c)return!1;for(var s=l;s--;){var f=u[s];if(!(c?f in e:Z.call(e,f)))return!1}var p=a.get(t);if(p&&a.get(e))return p==e;var y=!0;a.set(t,e),a.set(e,t);for(var d=c;++s<l;){var h=t[f=u[s]],g=e[f];if(r)var m=c?r(g,h,f,e,t,a):r(h,g,f,t,e,a);if(!(void 0===m?h===g||i(h,g,n,r,a):m)){y=!1;break}d||(d="constructor"==f)}if(y&&!d){var b=t.constructor,v=e.constructor;b==v||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(y=!1)}return a.delete(t),a.delete(e),y}(t,e,n,r,a,l))}(t,e,n,r,Tt,a))}function It(t,e,n,r,a,c){var u=n&o,l=t.length,s=e.length;if(l!=s&&!(u&&s>l))return!1;var f=c.get(t);if(f&&c.get(e))return f==e;var p=-1,y=!0,d=n&i?new At:void 0;for(c.set(t,e),c.set(e,t);++p<l;){var h=t[p],g=e[p];if(r)var m=u?r(g,h,p,e,t,c):r(h,g,p,t,e,c);if(void 0!==m){if(m)continue;y=!1;break}if(d){if(!B(e,(function(t,e){if(o=e,!d.has(o)&&(h===t||a(h,t,n,r,c)))return d.push(e);var o}))){y=!1;break}}else if(h!==g&&!a(h,g,n,r,c)){y=!1;break}}return c.delete(t),c.delete(e),y}function Mt(t){return function(t,e,n){var r=e(t);return Lt(t)?r:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(r,n(t))}(t,Qt,$t)}function Nt(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Ft(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!zt(t)||function(t){return!!X&&X in t}(t))&&(Wt(t)?tt:k).test(Ut(t))}(n)?n:void 0}_t.prototype.clear=function(){this.__data__=ht?ht(null):{},this.size=0},_t.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},_t.prototype.get=function(t){var e=this.__data__;if(ht){var n=e[t];return n===r?void 0:n}return Z.call(e,t)?e[t]:void 0},_t.prototype.has=function(t){var e=this.__data__;return ht?void 0!==e[t]:Z.call(e,t)},_t.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ht&&void 0===e?r:e,this},St.prototype.clear=function(){this.__data__=[],this.size=0},St.prototype.delete=function(t){var e=this.__data__,n=kt(e,t);return!(n<0||(n==e.length-1?e.pop():it.call(e,n,1),--this.size,0))},St.prototype.get=function(t){var e=this.__data__,n=kt(e,t);return n<0?void 0:e[n][1]},St.prototype.has=function(t){return kt(this.__data__,t)>-1},St.prototype.set=function(t,e){var n=this.__data__,r=kt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Et.prototype.clear=function(){this.size=0,this.__data__={hash:new _t,map:new(ft||St),string:new _t}},Et.prototype.delete=function(t){var e=Nt(this,t).delete(t);return this.size-=e?1:0,e},Et.prototype.get=function(t){return Nt(this,t).get(t)},Et.prototype.has=function(t){return Nt(this,t).has(t)},Et.prototype.set=function(t,e){var n=Nt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},At.prototype.add=At.prototype.push=function(t){return this.__data__.set(t,r),this},At.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.clear=function(){this.__data__=new St,this.size=0},xt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},xt.prototype.get=function(t){return this.__data__.get(t)},xt.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof St){var r=n.__data__;if(!ft||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Et(r)}return n.set(t,e),this.size=n.size,this};var $t=ct?function(t){return null==t?[]:(t=Object(t),function(e,n){for(var r=-1,o=null==e?0:e.length,i=0,a=[];++r<o;){var c=e[r];u=c,ot.call(t,u)&&(a[i++]=c)}var u;return a}(ct(t)))}:function(){return[]},qt=Pt;function Dt(t,e){return!!(e=null==e?a:e)&&("number"==typeof t||P.test(t))&&t>-1&&t%1==0&&t<e}function Ut(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bt(t,e){return t===e||t!=t&&e!=e}(st&&qt(new st(new ArrayBuffer(1)))!=x||ft&&qt(new ft)!=h||pt&&qt(pt.resolve())!=v||yt&&qt(new yt)!=j||dt&&qt(new dt)!=E)&&(qt=function(t){var e=Pt(t),n=e==b?t.constructor:void 0,r=n?Ut(n):"";if(r)switch(r){case gt:return x;case mt:return h;case bt:return v;case vt:return j;case wt:return E}return e});var Ct=Rt(function(){return arguments}())?Rt:function(t){return Vt(t)&&Z.call(t,"callee")&&!ot.call(t,"callee")},Lt=Array.isArray,Ht=ut||function(){return!1};function Wt(t){if(!zt(t))return!1;var e=Pt(t);return e==y||e==d||e==l||e==w}function Gt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function zt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Vt(t){return null!=t&&"object"==typeof t}var Jt=U?function(t){return function(e){return t(e)}}(U):function(t){return Vt(t)&&Gt(t.length)&&!!R[Pt(t)]};function Qt(t){return null!=(e=t)&&Gt(e.length)&&!Wt(e)?function(t,e){var n=Lt(t),r=!n&&Ct(t),o=!n&&!r&&Ht(t),i=!n&&!r&&!o&&Jt(t),a=n||r||o||i,c=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=c.length;for(var l in t)!e&&!Z.call(t,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Dt(l,u))||c.push(l);return c}(t):function(t){if(n=(e=t)&&e.constructor,e!==("function"==typeof n&&n.prototype||J))return lt(t);var e,n,r=[];for(var o in Object(t))Z.call(t,o)&&"constructor"!=o&&r.push(o);return r}(t);var e}t.exports=function(t,e){return Tt(t,e)}},4927:(t,e,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=c&&u&&"function"==typeof u.get?u.get:null,s=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,O=String.prototype.toLowerCase,j=RegExp.prototype.test,_=Array.prototype.concat,S=Array.prototype.join,E=Array.prototype.slice,A=Math.floor,x="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function N(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||j.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-A(-t):A(t);if(r!==t){var o=String(r),i=b.call(e,o.length+1);return v.call(o,n,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,n,"$&_")}var F=n(5710),$=F.custom,q=L($)?$:null;function D(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function U(t){return v.call(String(t),/"/g,"&quot;")}function B(t){return!("[object Array]"!==G(t)||T&&"object"==typeof t&&T in t)}function C(t){return!("[object RegExp]"!==G(t)||T&&"object"==typeof t&&T in t)}function L(t){if(R)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!P)return!1;try{return P.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,o){var c=n||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!W(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=c.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return V(e,c);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var w=String(e);return h?N(e,w):w}if("bigint"==typeof e){var j=String(e)+"n";return h?N(e,j):j}var A=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=A&&A>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var k,$=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=S.call(Array(t.indent+1)," ")}return{base:n,prev:S.call(Array(e+1),n)}}(c,r);if(void 0===o)o=[];else if(z(o,e)>=0)return"[Circular]";function H(e,n,i){if(n&&(o=E.call(o)).push(n),i){var a={depth:c.depth};return W(c,"quoteStyle")&&(a.quoteStyle=c.quoteStyle),t(e,a,r+1,o)}return t(e,c,r+1,o)}if("function"==typeof e&&!C(e)){var J=function(t){if(t.name)return t.name;var e=m.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),tt=K(e,H);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(tt.length>0?" { "+S.call(tt,", ")+" }":"")}if(L(e)){var et=R?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(e);return"object"!=typeof e||R?et:Q(et)}if((k=e)&&"object"==typeof k&&("undefined"!=typeof HTMLElement&&k instanceof HTMLElement||"string"==typeof k.nodeName&&"function"==typeof k.getAttribute)){for(var nt="<"+O.call(String(e.nodeName)),rt=e.attributes||[],ot=0;ot<rt.length;ot++)nt+=" "+rt[ot].name+"="+D(U(rt[ot].value),"double",c);return nt+=">",e.childNodes&&e.childNodes.length&&(nt+="..."),nt+"</"+O.call(String(e.nodeName))+">"}if(B(e)){if(0===e.length)return"[]";var it=K(e,H);return $&&!function(t){for(var e=0;e<t.length;e++)if(z(t[e],"\n")>=0)return!1;return!0}(it)?"["+X(it,$)+"]":"[ "+S.call(it,", ")+" ]"}if(function(t){return!("[object Error]"!==G(t)||T&&"object"==typeof t&&T in t)}(e)){var at=K(e,H);return"cause"in Error.prototype||!("cause"in e)||I.call(e,"cause")?0===at.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(at,", ")+" }":"{ ["+String(e)+"] "+S.call(_.call("[cause]: "+H(e.cause),at),", ")+" }"}if("object"==typeof e&&u){if(q&&"function"==typeof e[q]&&F)return F(e,{depth:A-r});if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{l.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ct=[];return a&&a.call(e,(function(t,n){ct.push(H(n,e,!0)+" => "+H(t,e))})),Z("Map",i.call(e),ct,$)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var ut=[];return s&&s.call(e,(function(t){ut.push(H(t,e))})),Z("Set",l.call(e),ut,$)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Y("WeakMap");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Y("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(t){}return!1}(e))return Y("WeakRef");if(function(t){return!("[object Number]"!==G(t)||T&&"object"==typeof t&&T in t)}(e))return Q(H(Number(e)));if(function(t){if(!t||"object"!=typeof t||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}(e))return Q(H(x.call(e)));if(function(t){return!("[object Boolean]"!==G(t)||T&&"object"==typeof t&&T in t)}(e))return Q(d.call(e));if(function(t){return!("[object String]"!==G(t)||T&&"object"==typeof t&&T in t)}(e))return Q(H(String(e)));if(!function(t){return!("[object Date]"!==G(t)||T&&"object"==typeof t&&T in t)}(e)&&!C(e)){var lt=K(e,H),st=M?M(e)===Object.prototype:e instanceof Object||e.constructor===Object,ft=e instanceof Object?"":"null prototype",pt=!st&&T&&Object(e)===e&&T in e?b.call(G(e),8,-1):ft?"Object":"",yt=(st||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(pt||ft?"["+S.call(_.call([],pt||[],ft||[]),": ")+"] ":"");return 0===lt.length?yt+"{}":$?yt+"{"+X(lt,$)+"}":yt+"{ "+S.call(lt,", ")+" }"}return String(e)};var H=Object.prototype.hasOwnProperty||function(t){return t in this};function W(t,e){return H.call(t,e)}function G(t){return h.call(t)}function z(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function V(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return V(b.call(t,0,e.maxStringLength),e)+r}return D(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",e)}function J(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function Q(t){return"Object("+t+")"}function Y(t){return t+" { ? }"}function Z(t,e,n,r){return t+" ("+e+") {"+(r?X(n,r):S.call(n,", "))+"}"}function X(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+S.call(t,","+n)+"\n"+e.prev}function K(t,e){var n=B(t),r=[];if(n){r.length=t.length;for(var o=0;o<t.length;o++)r[o]=W(t,o)?e(t[o],t):""}var i,a="function"==typeof k?k(t):[];if(R){i={};for(var c=0;c<a.length;c++)i["$"+a[c]]=a[c]}for(var u in t)W(t,u)&&(n&&String(Number(u))===u&&u<t.length||R&&i["$"+u]instanceof Symbol||(j.call(/[^\w$]/,u)?r.push(e(u,t)+": "+e(t[u],t)):r.push(u+": "+e(t[u],t))));if("function"==typeof k)for(var l=0;l<a.length;l++)I.call(t,a[l])&&r.push("["+e(a[l])+"]: "+e(t[a[l]],t));return r}},6434:t=>{var e=function(t){return t!=t};t.exports=function(t,n){return 0===t&&0===n?1/t==1/n:t===n||!(!e(t)||!e(n))}},2641:(t,e,n)=>{var r=n(6648),o=n(5592),i=n(6434),a=n(5669),c=n(9525),u=o(a(),Object);r(u,{getPolyfill:a,implementation:i,shim:c}),t.exports=u},5669:(t,e,n)=>{var r=n(6434);t.exports=function(){return"function"==typeof Object.is?Object.is:r}},9525:(t,e,n)=>{var r=n(5669),o=n(6648);t.exports=function(){var t=r();return o(Object,{is:t},{is:function(){return Object.is!==t}}),t}},3032:(t,e,n)=>{var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(9473),c=Object.prototype.propertyIsEnumerable,u=!c.call({toString:null},"toString"),l=c.call((function(){}),"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===i.call(t),r=a(t),c=e&&"[object String]"===i.call(t),p=[];if(!e&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var d=l&&n;if(c&&t.length>0&&!o.call(t,0))for(var h=0;h<t.length;++h)p.push(String(h));if(r&&t.length>0)for(var g=0;g<t.length;++g)p.push(String(g));else for(var m in t)d&&"prototype"===m||!o.call(t,m)||p.push(String(m));if(u)for(var b=function(t){if("undefined"==typeof window||!y)return f(t);try{return f(t)}catch(t){return!1}}(t),v=0;v<s.length;++v)b&&"constructor"===s[v]||!o.call(t,s[v])||p.push(s[v]);return p}}t.exports=r},3571:(t,e,n)=>{var r=Array.prototype.slice,o=n(9473),i=Object.keys,a=i?function(t){return i(t)}:n(3032),c=Object.keys;a.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return o(t)?c(r.call(t)):c(t)})}else Object.keys=a;return Object.keys||a},t.exports=a},9473:t=>{var e=Object.prototype.toString;t.exports=function(t){var n=e.call(t),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),r}},3656:t=>{var e,n,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(t){n=i}}();var c,u=[],l=!1,s=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):s=-1,u.length&&p())}function p(){if(!l){var t=a(f);l=!0;for(var e=u.length;e;){for(c=u,u=[];++s<e;)c&&c[s].run();s=-1,e=u.length}c=null,l=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function y(t,e){this.fun=t,this.array=e}function d(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new y(t,e)),1!==u.length||l||a(p)},y.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1813:t=>{var e=String.prototype.replace,n=/%20/g,r="RFC3986";t.exports={default:r,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:r}},1434:(t,e,n)=>{var r=n(4915),o=n(4076),i=n(1813);t.exports={formats:i,parse:o,stringify:r}},4076:(t,e,n)=>{var r=n(8417),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},l=function(t,e,n,r){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),l=c?i.slice(0,c.index):i,s=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;s.push(l)}for(var f=0;n.depth>0&&null!==(c=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(c[1])}return c&&s.push("["+i.slice(c.index)+"]"),function(t,e,n,r){for(var o=r?e:u(e,n),i=t.length-1;i>=0;--i){var a,c=t[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,s=parseInt(l,10);n.parseArrays||""!==l?!isNaN(s)&&c!==l&&String(s)===l&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(a=[])[s]=o:"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o}(s,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var s="string"==typeof t?function(t,e){var n,l={},s=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,p=s.split(e.delimiter,f),y=-1,d=e.charset;if(e.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?d="utf-8":"utf8=%26%2310003%3B"===p[n]&&(d="iso-8859-1"),y=n,n=p.length);for(n=0;n<p.length;++n)if(n!==y){var h,g,m=p[n],b=m.indexOf("]="),v=-1===b?m.indexOf("="):b+1;-1===v?(h=e.decoder(m,a.decoder,d,"key"),g=e.strictNullHandling?null:""):(h=e.decoder(m.slice(0,v),a.decoder,d,"key"),g=r.maybeMap(u(m.slice(v+1),e),(function(t){return e.decoder(t,a.decoder,d,"value")}))),g&&e.interpretNumericEntities&&"iso-8859-1"===d&&(g=c(g)),m.indexOf("[]=")>-1&&(g=i(g)?[g]:g),o.call(l,h)?l[h]=r.combine(l[h],g):l[h]=g}return l}(t,n):t,f=n.plainObjects?Object.create(null):{},p=Object.keys(s),y=0;y<p.length;++y){var d=p[y],h=l(d,s[d],n,"string"==typeof t);f=r.merge(f,h,n)}return!0===n.allowSparse?f:r.compact(f)}},4915:(t,e,n)=>{var r=n(4852),o=n(8417),i=n(1813),a=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,l=Array.prototype.push,s=function(t,e){l.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,p=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},d={},h=function t(e,n,i,a,c,l,f,p,h,g,m,b,v,w,O,j){for(var _,S=e,E=j,A=0,x=!1;void 0!==(E=E.get(d))&&!x;){var k=E.get(e);if(A+=1,void 0!==k){if(k===A)throw new RangeError("Cyclic object value");x=!0}void 0===E.get(d)&&(A=0)}if("function"==typeof p?S=p(n,S):S instanceof Date?S=m(S):"comma"===i&&u(S)&&(S=o.maybeMap(S,(function(t){return t instanceof Date?m(t):t}))),null===S){if(c)return f&&!w?f(n,y.encoder,O,"key",b):n;S=""}if("string"==typeof(_=S)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||o.isBuffer(S))return f?[v(w?n:f(n,y.encoder,O,"key",b))+"="+v(f(S,y.encoder,O,"value",b))]:[v(n)+"="+v(String(S))];var P,R=[];if(void 0===S)return R;if("comma"===i&&u(S))w&&f&&(S=o.maybeMap(S,f)),P=[{value:S.length>0?S.join(",")||null:void 0}];else if(u(p))P=p;else{var T=Object.keys(S);P=h?T.sort(h):T}for(var I=a&&u(S)&&1===S.length?n+"[]":n,M=0;M<P.length;++M){var N=P[M],F="object"==typeof N&&void 0!==N.value?N.value:S[N];if(!l||null!==F){var $=u(S)?"function"==typeof i?i(I,N):I:I+(g?"."+N:"["+N+"]");j.set(e,A);var q=r();q.set(d,j),s(R,t(F,$,i,a,c,l,"comma"===i&&w&&u(S)?null:f,p,h,g,m,b,v,w,O,q))}}return R};t.exports=function(t,e){var n,o=t,l=function(t){if(!t)return y;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=i.formatters[n],o=y.filter;return("function"==typeof t.filter||u(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===t.allowDots?y.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}}(e);"function"==typeof l.filter?o=(0,l.filter)("",o):u(l.filter)&&(n=l.filter);var f,p=[];if("object"!=typeof o||null===o)return"";f=e&&e.arrayFormat in c?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var d=c[f];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===d&&e&&e.commaRoundTrip;n||(n=Object.keys(o)),l.sort&&n.sort(l.sort);for(var m=r(),b=0;b<n.length;++b){var v=n[b];l.skipNulls&&null===o[v]||s(p,h(o[v],v,d,g,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,m))}var w=p.join(l.delimiter),O=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?O+="utf8=%26%2310003%3B&":O+="utf8=%E2%9C%93&"),w.length>0?O+w:""}},8417:(t,e,n)=>{var r=n(1813),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],a=o.obj[o.prop],c=Object.keys(a),u=0;u<c.length;++u){var l=c[u],s=a[l];"object"==typeof s&&null!==s&&-1===n.indexOf(s)&&(e.push({obj:a,prop:l}),n.push(s))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,o,i){if(0===t.length)return t;var c=t;if("symbol"==typeof t?c=Symbol.prototype.toString.call(t):"string"!=typeof t&&(c=String(t)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",l=0;l<c.length;++l){var s=c.charCodeAt(l);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||i===r.RFC1738&&(40===s||41===s)?u+=c.charAt(l):s<128?u+=a[s]:s<2048?u+=a[192|s>>6]+a[128|63&s]:s<55296||s>=57344?u+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s]:(l+=1,s=65536+((1023&s)<<10|1023&c.charCodeAt(l)),u+=a[240|s>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(i(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return i(e)&&!i(n)&&(a=c(e,r)),i(e)&&i(n)?(n.forEach((function(n,i){if(o.call(e,i)){var a=e[i];a&&"object"==typeof a&&n&&"object"==typeof n?e[i]=t(a,n,r):e.push(n)}else e[i]=n})),e):Object.keys(n).reduce((function(e,i){var a=n[i];return o.call(e,i)?e[i]=t(e[i],a,r):e[i]=a,e}),a)}}},4852:(t,e,n)=>{var r=n(1013),o=n(2864),i=n(4927),a=r("%TypeError%"),c=r("%WeakMap%",!0),u=r("%Map%",!0),l=o("WeakMap.prototype.get",!0),s=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),h=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+i(t))},get:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return l(t,r)}else if(u){if(e)return p(e,r)}else if(n)return function(t,e){var n=h(t,e);return n&&n.value}(n,r)},has:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return f(t,r)}else if(u){if(e)return d(e,r)}else if(n)return function(t,e){return!!h(t,e)}(n,r);return!1},set:function(r,o){c&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new c),s(t,r,o)):u?(e||(e=new u),y(e,r,o)):(n||(n={key:{},next:null}),function(t,e,n){var r=h(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,o))}};return r}},8946:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},6096:(t,e,n)=>{var r=n(9462),o=n(7136),i=n(5472),a=n(1407);function c(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,s=c(Object.prototype.toString),f=c(Number.prototype.valueOf),p=c(String.prototype.valueOf),y=c(Boolean.prototype.valueOf);if(u)var d=c(BigInt.prototype.valueOf);if(l)var h=c(Symbol.prototype.valueOf);function g(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function m(t){return"[object Map]"===s(t)}function b(t){return"[object Set]"===s(t)}function v(t){return"[object WeakMap]"===s(t)}function w(t){return"[object WeakSet]"===s(t)}function O(t){return"[object ArrayBuffer]"===s(t)}function j(t){return"undefined"!=typeof ArrayBuffer&&(O.working?O(t):t instanceof ArrayBuffer)}function _(t){return"[object DataView]"===s(t)}function S(t){return"undefined"!=typeof DataView&&(_.working?_(t):t instanceof DataView)}e.isArgumentsObject=r,e.isGeneratorFunction=o,e.isTypedArray=a,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||S(t)},e.isUint8Array=function(t){return"Uint8Array"===i(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},e.isUint16Array=function(t){return"Uint16Array"===i(t)},e.isUint32Array=function(t){return"Uint32Array"===i(t)},e.isInt8Array=function(t){return"Int8Array"===i(t)},e.isInt16Array=function(t){return"Int16Array"===i(t)},e.isInt32Array=function(t){return"Int32Array"===i(t)},e.isFloat32Array=function(t){return"Float32Array"===i(t)},e.isFloat64Array=function(t){return"Float64Array"===i(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},m.working="undefined"!=typeof Map&&m(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},O.working="undefined"!=typeof ArrayBuffer&&O(new ArrayBuffer),e.isArrayBuffer=j,_.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&_(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=S;var E="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(t){return"[object SharedArrayBuffer]"===s(t)}function x(t){return void 0!==E&&(void 0===A.working&&(A.working=A(new E)),A.working?A(t):t instanceof E)}function k(t){return g(t,f)}function P(t){return g(t,p)}function R(t){return g(t,y)}function T(t){return u&&g(t,d)}function I(t){return l&&g(t,h)}e.isSharedArrayBuffer=x,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===s(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===s(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===s(t)},e.isGeneratorObject=function(t){return"[object Generator]"===s(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===s(t)},e.isNumberObject=k,e.isStringObject=P,e.isBooleanObject=R,e.isBigIntObject=T,e.isSymbolObject=I,e.isBoxedPrimitive=function(t){return k(t)||P(t)||R(t)||T(t)||I(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(j(t)||x(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},911:(t,e,n)=>{var r=n(3656),o=n(9712),i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},a=/%[sdj%]/g;e.format=function(t){if(!w(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(s(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,o=r.length,i=String(t).replace(a,(function(t){if("%%"===t)return"%";if(n>=o)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}})),c=r[n];n<o;c=r[++n])b(c)||!_(c)?i+=" "+c:i+=" "+s(c);return i},e.deprecate=function(t,n){if(void 0!==r&&!0===r.noDeprecation)return t;if(void 0===r)return function(){return e.deprecate(t,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?o.trace(n):o.error(n),i=!0}return t.apply(this,arguments)}};var c={},u=/^$/;if(r.env.NODE_DEBUG){var l=r.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+l+"$","i")}function s(t,n){var r={seen:[],stylize:p};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&e._extend(r,n),O(r.showHidden)&&(r.showHidden=!1),O(r.depth)&&(r.depth=2),O(r.colors)&&(r.colors=!1),O(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=f),y(r,t,r.depth)}function f(t,e){var n=s.styles[e];return n?"["+s.colors[n][0]+"m"+t+"["+s.colors[n][1]+"m":t}function p(t,e){return t}function y(t,n,r){if(t.customInspect&&n&&A(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,t);return w(o)||(o=y(t,o,r)),o}var i=function(t,e){if(O(e))return t.stylize("undefined","undefined");if(w(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return v(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):b(e)?t.stylize("null","null"):void 0}(t,n);if(i)return i;var a=Object.keys(n),c=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),E(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(A(n)){var u=n.name?": "+n.name:"";return t.stylize("[Function"+u+"]","special")}if(j(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return t.stylize(Date.prototype.toString.call(n),"date");if(E(n))return d(n)}var l,s="",f=!1,p=["{","}"];return g(n)&&(f=!0,p=["[","]"]),A(n)&&(s=" [Function"+(n.name?": "+n.name:"")+"]"),j(n)&&(s=" "+RegExp.prototype.toString.call(n)),S(n)&&(s=" "+Date.prototype.toUTCString.call(n)),E(n)&&(s=" "+d(n)),0!==a.length||f&&0!=n.length?r<0?j(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),l=f?function(t,e,n,r,o){for(var i=[],a=0,c=e.length;a<c;++a)R(e,String(a))?i.push(h(t,e,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(h(t,e,n,r,o,!0))})),i}(t,n,r,c,a):a.map((function(e){return h(t,n,r,c,e,f)})),t.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(l,s,p)):p[0]+s+p[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,n,r,o,i){var a,c,u;if((u=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?c=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(c=t.stylize("[Setter]","special")),R(r,o)||(a="["+o+"]"),c||(t.seen.indexOf(u.value)<0?(c=b(n)?y(t,u.value,null):y(t,u.value,n-1)).indexOf("\n")>-1&&(c=i?c.split("\n").map((function(t){return"  "+t})).join("\n").slice(2):"\n"+c.split("\n").map((function(t){return"   "+t})).join("\n")):c=t.stylize("[Circular]","special")),O(a)){if(i&&o.match(/^\d+$/))return c;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+c}function g(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function b(t){return null===t}function v(t){return"number"==typeof t}function w(t){return"string"==typeof t}function O(t){return void 0===t}function j(t){return _(t)&&"[object RegExp]"===x(t)}function _(t){return"object"==typeof t&&null!==t}function S(t){return _(t)&&"[object Date]"===x(t)}function E(t){return _(t)&&("[object Error]"===x(t)||t instanceof Error)}function A(t){return"function"==typeof t}function x(t){return Object.prototype.toString.call(t)}function k(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!c[t])if(u.test(t)){var n=r.pid;c[t]=function(){var r=e.format.apply(e,arguments);o.error("%s %d: %s",t,n,r)}}else c[t]=function(){};return c[t]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=n(6096),e.isArray=g,e.isBoolean=m,e.isNull=b,e.isNullOrUndefined=function(t){return null==t},e.isNumber=v,e.isString=w,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=O,e.isRegExp=j,e.types.isRegExp=j,e.isObject=_,e.isDate=S,e.types.isDate=S,e.isError=E,e.types.isNativeError=E,e.isFunction=A,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(8946);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,n;o.log("%s - %s",(n=[k((t=new Date).getHours()),k(t.getMinutes()),k(t.getSeconds())].join(":"),[t.getDate(),P[t.getMonth()],n].join(" ")),e.format.apply(e,arguments))},e.inherits=n(7483),e._extend=function(t,e){if(!e||!_(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(T&&t[T]){var e;if("function"!=typeof(e=t[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,T,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,o)}catch(t){n(t)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),T&&Object.defineProperty(e,T,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=T,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var o=e.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};t.apply(this,e).then((function(t){r.nextTick(a.bind(null,null,t))}),(function(t){r.nextTick(I.bind(null,t,a))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}},7081:(t,e)=>{e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[t,r]of e)n[t]=r;return n}},5472:(t,e,n)=>{var r=n(98),o=n(3719),i=n(2864),a=n(8158),c=i("Object.prototype.toString"),u=n(3342)(),l="undefined"==typeof globalThis?n.g:globalThis,s=o(),f=i("String.prototype.slice"),p={},y=Object.getPrototypeOf;u&&a&&y&&r(s,(function(t){if("function"==typeof l[t]){var e=new l[t];if(Symbol.toStringTag in e){var n=y(e),r=a(n,Symbol.toStringTag);if(!r){var o=y(n);r=a(o,Symbol.toStringTag)}p[t]=r.get}}}));var d=n(1407);t.exports=function(t){return!!d(t)&&(u&&Symbol.toStringTag in t?function(t){var e=!1;return r(p,(function(n,r){if(!e)try{var o=n.call(t);o===r&&(e=o)}catch(t){}})),e}(t):f(c(t),8,-1))}},5710:()=>{},3719:(t,e,n)=>{var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?n.g:globalThis;t.exports=function(){for(var t=[],e=0;e<r.length;e++)"function"==typeof o[r[e]]&&(t[t.length]=r[e]);return t}}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={id:t,loaded:!1,exports:{}};return e[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};(()=>{r.d(o,{__dynamicImportComponent__:()=>jt,__plugin_uid__:()=>ee,checkParentInstance:()=>Et,componentSetup:()=>xt,createRouter:()=>Qt,instanceFindParentId:()=>St,onBeforeRouteLeave:()=>Kt,onBeforeRouteUpdate:()=>te,parserInstance:()=>B,routerAbstractRouteskey:()=>a,toIsNewWindow:()=>gt,useRoute:()=>Zt,useRouter:()=>Yt,viewDepthKey:()=>u});const e="请联系作者处理，QQ:1606726660",n=(l={computed:()=>t.computed,getCurrentInstance:()=>t.getCurrentInstance,h:()=>t.h,inject:()=>t.inject,onActivated:()=>t.onActivated,onDeactivated:()=>t.onDeactivated,onUnmounted:()=>t.onUnmounted,provide:()=>t.provide,shallowRef:()=>t.shallowRef,triggerRef:()=>t.triggerRef,unref:()=>t.unref},s={},r.d(s,l),s),i=Symbol("uni-simple-route Location"),a=Symbol("uni-simple-router abstract routes"),c=Symbol("uni-simple-router Router"),u=Symbol("uni-simple-router-view depth");var l,s;function f(){return{path:"/",name:void 0,params:{},query:{},fullPath:"/",matched:[],meta:{},navType:"replaceAll"}}var p=r(1434),y=r.n(p);function d(t){const e=t.split("?"),n=2===e.length?y().parse(e[1]):{};return{url:e[0],query:n}}function h(t){return y().stringify(t)}var g=r(9712);function m(t){const e=Array.from(arguments).slice(1);g.warn.apply(g,["[uni-simple-router warn]: "+t].concat(e))}const b=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"],v={navigateTo:"push",switchTab:"pushTab",redirectTo:"replace",reLaunch:"replaceAll",navigateBack:"back"};var w=r(9712);function O(t){const e=Array.from(arguments).slice(1);w.error.apply(w,["[uni-simple-router error]: "+t].concat(e))}function j(t,e="检测到发生错误，错误信息如下:"){w.error(`[uni-simple-router error]==> ${e}`),w.error(t)}var _=r(22),S=r.n(_);function E(t){return"string"==typeof t||"symbol"==typeof t}const A="___router_pushState___",x=["push","pushTab","replace","replaceAll","back"],k={push:"push",pushTab:"replace",replace:"replace",replaceAll:"replace",back:"go"};function P(t){let e=t[t.length-1];if(!e)return;for(;e.parentMatcher;)e=e.parentMatcher;const n=window.__getCurrentPagesMap__().values(),r=[];for(const t of n){const n=t.$page;n.path===e.record.path&&r.push(n.id)}if(0===r.length)return;if(1===r.length)return r[r.length-1];const o=getCurrentPages(),i=o[o.length-1];for(let t=0;t<r.length;t++){const e=r[t];if(e===i.$page.id)return e}}function R(t,e,r){const o=(0,n.unref)(t.currentRoute),i=e,a=t.initEnvOptions.matcher.locationRawToMatched(i);if(yt(a,"object"))return{fromRoute:o,toRoute:a,navType:r,newWindow:!1,matched:[],checked:!1};const c=a,{toRoute:u,newWindow:l}=W(t,i,c,r);return{fromRoute:o,toRoute:u,navType:r,newWindow:l,matched:c,checked:!0}}async function T(t,n,r,o){const i=k[n],a=t.initEnvOptions.vueRouter,c=a[i];if("back"!==n){const{newWindow:e,toRoute:r}=o,{path:i,query:u,name:l,params:s,matched:f,fullPath:p}=r,y=mt(n);"replaceAll"===n?window.__removeAllPages__():"replace"===n&&e&&window.__removeLastPage__();const d=P(f);let g=window.__createPageState__(y,d);if(t.utils.pagesPathIsTabbar(f[0].record.pagesPath||""))window.__removeNonTabBarPages__(),window.__getTabBarPageId__(p);else if(null!=d){const e=P(t.currentRoute.value.matched);e&&e>d&&(g=window.__createPageState__(y,void 0))}return function(t){if(function(t){let e=null;try{e=JSON.stringify(t).match(/\{|\[|\}|\]/g)}catch(t){throw new Error(`传递的参数解析对象失败，错误信息如下：${t}`)}return!!(e&&e.length>3)}(t))for(const[e,n]of Object.entries(t))t[e]="object"==typeof n?h({[e]:n}):n}(u),localStorage.setItem(A,n),function(t,e,...n){return new Promise((async(r,o)=>{try{const i=await e.apply(t,n);return null==i?r(i):o(i)}catch(t){return o(t)}}))}(a,c,{path:i,query:u,state:g,name:l,params:s}).catch((t=>{localStorage.removeItem(A)}))}O(`这似乎是一个BUG, h5PushWithRedirect 函数不应该有 back 动作调用。${e}`)}function I(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(r.components){e={};for(const[t,n]of Object.entries(r.components)){const{render:r}=n();e[t]=r}}if(r.component)if("function"==typeof r.component){const{render:t}=r.component();e={default:t}}else e=r.component;e&&(delete r.component,r.components=e),r.children&&I(r.children)}}let M={};function N(t,e,r,o){if("h5"!==t.initOptions.platform)return e.toString();const i=r||(0,n.unref)(t.currentRoute);return`${e}$$${P(o?[o]:i.matched)||1}`}function F(t){const e=t.initOptions.platform;for(const[t,n]of Object.entries(M))if(n){for(const[r,o]of Object.entries(n)){if(!o)continue;const n=vt(e)?"component"===o.$mpType?o.$:o.$vm.$:o.$;(n.isUnmounted||n.__isUnload)&&delete M[t][r]}0===Object.keys(M[t]).length&&delete M[t]}}function $(t,e,n){const r=N(t,e);if(null==M[r])M[r]=n;else for(let t in n)M[r][t]=n[t];F(t)}function q(t){return F(t),M}function D(t,e){F(t);const n=N(t,e);return M[n]}function U(t,e,n){return F(t),!0}function B(t,e){const n=getApp().$vm.$Router,{nameToRecordMatcher:r}=n.initEnvOptions.matcher,o=r(t);if(!o)return null;const i=N(n,o.record._selfId,void 0,o),a=M[i];if(!a)return null;for(let t=0;t<e.length;t++){const r=e[t];if("function"==typeof r||1===r.length){const t="function"==typeof r?r:r[0];for(const[e,r]of Object.entries(a))try{t(wt(n,r));break}catch(t){}}else{const t=a[r[1]];r[0](wt(n,t))}}return!0}let C=null,L=null;function H(t){const e=function(t){return t.initEnvOptions.compileOptions.tabbar.length>0}(t);if(!e)return!1;if("app"!==t.initOptions.platform)return!1;const n=t.currentRoute.value,r=t.initEnvOptions.compileOptions.tabbar;let o=0;const i=n.matched[0];if(null==i||null!=i.parentMatcher)return!1;const{pagesPath:a}=i.record;for(let t=0;t<r.length;t++)if("/"+r[t].pagePath===a){o=t;break}return null==L&&(L=uni.requireNativePlugin("uni-tabview")),L.switchSelect({index:o}),!0}function W(t,e,r,o){const{dynamicLocationToRecordMatcher:i}=t.initEnvOptions.matcher,a={path:"/",name:void 0,params:{},query:{},fullPath:"/",matched:[],meta:{},navType:"replaceAll"},c=(0,n.unref)(t.currentRoute).matched[0],{meta:u,_parentId:l,name:s}=r[0].record,{cloneOptions:f}=i({path:e.path||"",name:e.name||"",params:e.params||{},query:e.query||{}});a.fullPath=function(t){const{url:e,query:n}=t,{url:r,query:o}=d(e),i=h({...n,...o});return i?`${r}?${i}`:r}({url:f.path,query:f.query}),a.path=f.path,a.query=f.query,a.params=f.params,a.meta=u,a.name=s,a.matched=r,a.navType=o;let p=!c||c.record._parentId!==l;return p||(p=1===r.length),{newWindow:p,toRoute:a}}function G(t,e,n){const r=it(t,e,n),o=at(t,r);if(!o.checked)throw new Error("强制更新 currentRoue 失败，未匹配到 to 对应的路由表");const i=o.toRoute;return z(t,i),"back"===n?t.history[n](r.delta):t.history[n](i),!0}function z(t,e,r=!1){const o=e.matched[e.matched.length-1],i=t.initOptions.platform;!function(t,e){const r=(0,n.unref)(e),{matched:o}=r;for(let n=0;n<o.length;n++){const{record:{_selfId:r}}=o[n],i=N(t,r,e);!M[i]&&(M[i]={})}F(t)}(t,e),t.currentRoute.value=e;const a=o.record._parentId;function c(){if(o&&!o.parentMatcher){const r=getCurrentPages().reverse()[0];if(r){const a=ft(r.route)===o.record.pagesPath,c=ft(r.route)===o.record.path;("h5"===i&&c||"h5"!==i&&a)&&$(t,o.record._selfId,{default:r}),function(t,e,r){if("app"===t.initOptions.platform&&bt()){const o=t.initOptions.app?.setSideSlipGesture,i=o?o(r):"none",a=e.$getAppWebview();a.setStyle({popGesture:["none","close","hide"].includes(i)?i:"none"}),function(t,e){if(e.__callbacks__.popGesture){const t=e.__callbacks__.popGesture.filter((t=>t.toString().includes("uni-simple-router-v3")));if(t&&t.length>0)return}e.addEventListener("popGesture",(e=>{if(e.result&&"end"===e.type){const e=getCurrentPages(),r=ft(e[e.length-1].route),{matched:o}=(0,n.unref)(t.currentRoute),{record:i}=o[o.length-1];i.pagesPath!==r&&G(t,1,"back")}}))}(t,a)}}(t,r,e)}}}return t.abstractRoutes.value[a]=e,(0,n.triggerRef)(t.abstractRoutes),r?c:c()}const V=[{name:"beforeRouteLeave",hook:async function(t,e,n,r){return Y(t,e,n,r,"leaveGuards")}},{name:"beforeEach",hook:async function(t,e,n,r){const o=t.initEnvOptions.beforeGuards.list();for(let i=0;i<o.length;i++){const a=o[i],c=await J(t,e,n,r,a);if(-1!==c.nextCode)return c}return{nextCode:-1,nextHook:null,msg:""}}},{name:"beforeRouteUpdate",hook:async function(t,e,n,r){return Y(t,e,n,r,"updateGuards")}},{name:"beforeEnter",hook:async function(t,e,n,r){const o=e.matched;for(let i=0;i<o.length;i++){const{record:{beforeEnter:a}}=o[i];if(a){const o=await J(t,e,n,r,a);if(-1===o.nextCode)continue;return o}}return{nextCode:-1,nextHook:null,msg:""}}},{name:"beforeRouteEnter",hook:async function(t,e,n,r){return Y(t,e,n,r,"enterGuards")}},{name:"beforeResolve",hook:async function(t,e,n,r){const o=t.initEnvOptions.resolveGuards.list();for(let i=0;i<o.length;i++){const a=o[i],c=await J(t,e,n,r,a);if(-1!==c.nextCode)return c}return{nextCode:-1,nextHook:null,msg:""}},triggerNav:!0},{name:"afterEach",hook:async function(t,e,n,r){const o=t.initEnvOptions.afterGuards.list();for(let t=0;t<o.length;t++){const r=o[t];try{r(e,n)}catch(t){j(t,"路由守卫[afterEach]中的代码有异常，错误信息如下：")}}return{nextCode:-1,nextHook:null,msg:""}}}];async function J(t,e,n,r,o){try{const i=await o(e,n);if(!0===i||null==i)return{nextCode:-1,nextHook:null,msg:""};if(!1===i)return{nextCode:0,nextHook:null,msg:"路由守卫返回终止导航指令，本次导航已终止"};if("string"==typeof i||"object"==typeof i){let e=r,n=i;if("object"==typeof i){const{navType:t,...r}=i;n=r,"string"==typeof t&&(e=t)}if("h5"===t.initOptions.platform&&"back"===e&&"back"===r)throw new Error("目前在h5端暂不支持 back 类型去拦截原始的 back 操作，请相信在不久的将来我们会完善它~~~");return{nextCode:-2,nextHook:()=>ut(t,n,e,!1,!0),msg:""}}}catch(t){j(t)}return{nextCode:1,nextHook:null,msg:"路由守卫返回未知类型，无法被识别。导航被终止"}}function Q(t,n,r,o,i,a=!1){return new Promise((async(c,u)=>{for(let l=0;l<V.length;l++){const{name:s,hook:f,triggerNav:p}=V[l],y=await f(t,n,r,o);if(-1!==y.nextCode){if(-2===y.nextCode){if(y.nextHook)return c(a?(y.nextHook(),1):y.nextHook());y.nextCode=1,O(`路由守卫下发生重定向，但是执行回调函数为空，这是一个bug。${e}`)}return u({type:y.nextCode,msg:`[${s}] ${y.msg}`,from:r,to:n})}p&&await i()}return c(0)}))}async function Y(t,n,r,o,i){try{const a=function(t,e){const n=[],r=[],o=[],i=Math.max(e.matched.length,t.matched.length);for(let a=0;a<i;a++){const i=e.matched[a];i&&(t.matched.find((({record:t})=>t._selfId===i.record._selfId))?r.push(i):n.push(i));const c=t.matched[a];c&&(e.matched.find((({record:t})=>t._selfId===c.record._selfId))||o.push(c))}return[n,r,o]}(n,r),c=a[{enterGuards:2,updateGuards:1,leaveGuards:0}[i]],u=await function(t,n,r,o,i){return new Promise((async(a,c)=>{const u=[],l={enterGuards:"beforeRouteEnter",updateGuards:"beforeRouteUpdate",leaveGuards:"beforeRouteLeave"};for(let t=0;t<r.matched.length;t++){const{record:e}=r.matched[t];if(null!=e.components)for(const t in e.components){let n=e.components[t];if("function"==typeof n.component){let i=n.component();const a=await i;if(!a)return c({type:9,msg:`[${e.path}] 动态组件加载失败`,from:o,to:r});const u=(s=a).__esModule||"Module"===s[Symbol.toStringTag]?a.default:a;["beforeRouteEnter","beforeRouteUpdate","beforeRouteLeave"].map((t=>{const e=u[t];e&&(u[t]=function(t,n,r){return r?r():e.call(this,t,n)})})),e.components[t].component=u}}}var s;for(let r=0;r<i.length;r++){const{record:o}=i[r],a=D(t,o._selfId);for(const t in o.components){const r=o.components[t].component[l[n]];"function"==typeof r&&(null==a&&"enterGuards"!==n&&O(`${n} 守卫下无法正确提取页面实例，导致this无法使用，这是一个bug。${e}`),u.push(r.bind(a?a[t]:null)))}"enterGuards"!==n&&u.push(...o[n])}return a(u)}))}(t,i,n,r,c);for(let e=0;e<u.length;e++){const i=u[e],a=await J(t,n,r,o,i);if(-1!==a.nextCode)return a}return{nextCode:-1,nextHook:null,msg:""}}catch(t){return{nextCode:2,nextHook:null,msg:t.msg}}}var Z=r(7361),X=r.n(Z);const K={};function et(t,e,n){if("h5"!==t.initOptions.platform)return;const r=n.matched[0],o=e.matched[0];if("back"===e.navType&&r){const t=r.record._selfId;delete K[t]}const i=q(t),a=Object.keys(K);for(const[t]of Object.entries(i))a.includes(t)||delete K[t];for(const[t]of Object.entries(K))i[t]||delete K[t];if(o){const t=o.record._selfId,e=K[t];e&&window.scrollTo.apply(window,e)}}function nt(t,e){e(),t.$lockStatus=!1}async function rt(t,e,n,r){if(t.initOptions.navigateLock){const{autoUnlock:n}=t.initOptions.navigateLock;n&&null!=e.type&&n.includes(e.type)&&(t.$lockStatus=!1)}let o=!0;3===e.type&&"app"===t.initOptions.platform&&(function(t){"app"===t.initOptions.platform&&(t.initOptions.app&&t.initOptions.app.runtimeQuit?t.initOptions.app.runtimeQuit():function(t="再按一次退出应用"){if(bt())return;const e=+new Date;C?e-C<1e3&&plus.runtime.quit():(C=e,uni.showToast({title:t,icon:"none",position:"bottom",duration:1e3}),setTimeout((()=>{C=null}),1e3))}())}(t),o=!1),r&&o&&0!==await r()||((0,t.initEnvOptions.errorHandlers.call)(e),n&&n(e))}function ot(t,e){const{path:n,query:r}=function(t){const e=d(t);return{path:e.url,query:e.query}}(e);if(""!==n.trim()){const{matcher:e}=t.initEnvOptions,o=e.getMatcherMap();for(const[t,e]of o){const{pagesPath:t,path:o}=e.record;if(t===n)return{path:o,query:r}}}return{path:n,query:r}}function it(t,e,n){const r=t.initOptions.platform,o={success:lt,fail:lt,complete:lt,navType:n};if("string"==typeof e&&"back"!==n){const{path:n,query:r}=ot(t,e);return{path:n,query:r,...o}}if("back"===n){let t=1;return"number"==typeof e&&(t=e),{...o,..."object"==typeof e&&e||{},delta:"h5"===r?"object"==typeof e?e.delta?-(e.delta||1):-1:-t:"object"==typeof e?e.delta&&e.delta||1:t}}if(void 0===e)throw new Error("执行跳转操作必须传递API参数，本次参数为  undefined ，请检查后再操作");const i=e,{success:a,fail:c,complete:u,...l}=i;if(l.path){const e=i,n=ot(t,e?.path||"");l.path=n.path,null==e.query&&(e.query={}),e.query={...e.query,...n.query}}return{...l,success:a||lt,fail:c||lt,complete:u||lt,navType:n,query:i.query&&i.query||{}}}function at(t,e){const r=t.initEnvOptions.matcher,o=t.initOptions.platform,{navType:i}=e,a=(0,n.unref)(t.currentRoute);if("back"===i){if("h5"===o)return R(t,e,i);const{delta:n}=e;return{fromRoute:a,navType:i,...t.history.getBackRoute(t,n)}}const c=e,u=r.locationRawToMatched(c);if(pt(u))return{fromRoute:a,toRoute:u,navType:i,newWindow:!1,matched:[],checked:!1};const l=u,{toRoute:s,newWindow:f}=W(t,c,l,i);return{fromRoute:a,toRoute:s,navType:i,newWindow:f,matched:l,checked:!0}}async function ct(t,e,n,r){try{let o;if(r)o=await r();else{const t=n.matched[0];t&&t.record.redirect&&(r=t.record.redirect)&&(o="function"==typeof r?r(n,e):r)}if(o){let e="replace";return"object"==typeof o&&o.navType&&(e=o.navType),{navType:e,location:o,redirect:()=>ut(t,o,e,!1,!0)}}}catch(t){}}function ut(t,e,r,o=!1,i=!1){return new Promise((async(a,c)=>{const u=t.initOptions.platform;if("h5"!==u&&!o&&!i){const o=function(t,e,r){const o=(0,n.unref)(t.currentRoute),{detectBeforeLock:i}=t.initOptions.navigateLock;if(i&&i(t,e,r),t.$lockStatus)return{type:2,msg:"当前页面正在处于跳转状态，请稍后再进行跳转，你可以通过路由锁解除锁定....",from:o,to:e}}(t,e,r);if(o)return rt(t,o,c);t.$lockStatus=!0}const l=it(t,e,r);if("h5"===u&&"back"===r&&!o){const{delta:e,success:n,complete:r}=l;return n({errMsg:"navigateBack:ok"}),r({errMsg:"navigateBack:ok"}),t.initEnvOptions.vueRouter?.go(e),nt(t,a)}const s=at(t,l),{toRoute:f,fromRoute:p}=s;if(!s.checked)return rt(t,s.toRoute,c,(async()=>{const{routeNotFound:e}=t.initOptions;if(e){const n=await ct(t,void 0,void 0,(()=>e(l)));if(n)return a(n.redirect())}return 0}));const y=f,d=await ct(t,p,y);if(d)return"h5"===u&&o?a():a(d.redirect());let g=null;if("h5"===u){if(o){let e=0;try{e=await Q(t,y,p,r,(()=>Promise.resolve()),o)}catch(e){return rt(t,e,c)}return nt(t,(()=>{a(e)}))}const e=r;g=()=>T(t,e,0,s)}else g=()=>function(t,e,n,r){return new Promise((async o=>{const i=t.initEnvOptions.uniMethods,a="app"===t.initOptions.platform,c=a&&!t._launched,{newWindow:u,toRoute:l,fromRoute:s}=r;if("back"===e){const e=l,r=new Promise((t=>{if(u){const r=function(t){const e=getCurrentPages().reverse(),{record:n}=t.matched[t.matched.length-1];for(let t=0;t<e.length;t++){const r=e[t];if(n.pagesPath===ft(r.route))return t}return 0}(e);i.navigateBack({delta:r,animationType:n.animationType,animationDuration:n.animationDuration,complete:t},"ENFORCE")}else t()}));t.history&&t.history.back(n.delta),await z(t,e),await r}else{const r=mt(e),o=l,i=z(t,o,a),s=new Promise((async e=>{if(u){const{matched:e}=o,{record:u}=e[e.length-1],l=h({...o.query,...o.params});await Promise.race([new Promise((t=>{c&&t()})),new Promise((e=>{t._patch._ksFirstRedirect=!0,uni[r]({url:u.pagesPath+""+(l?`?${l}`:""),animationType:n.animationType,animationDuration:n.animationDuration,complete:()=>{a&&i(),function(t){if("app"===t.initOptions.platform&&!t._launched){t._launched=!0,plus.navigator.closeSplashscreen();const e=t.initOptions.app?.launchedHook;e&&e()}}(t),e()}},"ENFORCE")}))])}e()}));t.history&&t.history[e](o),await s}o()}))}(t,r,l,s);!async function(t,e,r,o,i){const a=t.initOptions.platform,{fromRoute:c,toRoute:u,navType:l}=e;if("back"!==e.navType&&!i){const e=function(t,e){const{navType:r,...o}=(0,n.unref)(t.currentRoute),{navType:i,...a}=e;return X()(o,a)}(t,u);if(e)return await rt(t,{type:8,msg:"当前页面路径与跳转路径相同，无须进行跳转",from:c,to:u},r.reject)}function s(){return new Promise((e=>{o().then((()=>{nt(t,r.resolve)})).catch((e=>{rt(t,e,r.reject)})).finally((()=>{e()}))}))}"h5"===a?s():Q(t,u,c,l,s).then((e=>{0!==e&&nt(t,r.resolve)})).catch((e=>{rt(t,e,r.reject)}))}(t,{fromRoute:p,toRoute:y,navType:r},{resolve:a,reject:c},g,i)}))}function lt(...t){}const st=Object.assign;function ft(t){const e=t+"";return 0===e.indexOf("/")?e:"/"+e}function pt(t){return!!(yt(t,"object")&&[0,1,2,3,4,5,6,7,8,9].includes(t.type)&&yt(t.msg,"string"))}function yt(t,e){const n=function(t){const e=Object.prototype.toString.call(t).toLocaleLowerCase().match(/\s([^\s]+)]/);return e?e[1]:""}(t);return n===e.toLocaleLowerCase()}function dt(){return+(Math.random()+"").replace(/\./g,"")}function ht(t){return JSON.parse(JSON.stringify(t))}function gt(t,e){const n=e.matched[0],r=t.matched[0];return!n||!r||n.record._parentId!==r.record._parentId}function mt(t){return{push:"navigateTo",pushTab:"switchTab",replace:"redirectTo",replaceAll:"reLaunch",back:"navigateBack"}[t]}function bt(){return!!plus&&"apple"===plus.device.vendor.toLocaleLowerCase()}function vt(t){return t.startsWith("mp-")}function wt(t,e){return e?vt(t.initOptions.platform)?"component"===e.$mpType?e:e.$vm:e:null}function Ot(t,n=!1){let r=function(){const{getEnterOptionsSync:t,getLaunchOptionsSync:e}=uni,n=[t,e];for(let t=0;t<n.length;t++){const e=n[t];if(void 0!==e)try{const{query:t}=e();if(Object.keys(t).length>-1)return t}catch(t){continue}}return{}}(),o="";if(r.__redirect__){const{__redirect__:t,...e}=r;r=e,o=t}else o=t.initOptions.routes[0].path;const i=t.initEnvOptions.matcher.locationRawToMatched({path:o,query:{},success:lt,fail:lt,complete:lt,navType:"replaceAll"});if(!pt(i)){const e=i[i.length-1].record.pagesPath;if(e){const i=t.utils.pagesPathIsTabbar(e)?"pushTab":"replaceAll";return()=>ut(t,{path:o,query:r},i,!1,n).catch((()=>{}))}throw new Error("路由表顶级页面未使用__dynamicImportComponent__函数，或者未设置 pageType:'top' 属性")}throw new Error(`无法进行启动页跳转，这是一个不应该出现的bug，${e}`)}const jt=lt;function _t(t,e){if(!e)return"";const{platform:n}=t.initOptions;switch(n){case"h5":case"app":return ft(e.ctx.route);case"mp-baidu":return ft(e.proxy.$scope.pageinstance.route);case"mp-alipay":case"mp-weixin":case"mp-qq":case"mp-toutiao":case"mp-lark":case"mp-jd":case"mp-kuaishou":return ft(e.proxy.$scope.route)}}function St(t,e){const{pathFindRecordMatcher:n}=t.initEnvOptions.matcher;if(e){let r="";for(;e;){if(e.ctx&&"page"===e.ctx.$mpType){r=_t(t,e);break}e=e.parent}const o=n(r);if(o)return o.record._parentId}return 0}function Et(t,e,n){const r=e.matched[e.matched.length-1];if(r){const{path:e,pagesPath:o}=r.record;if(n)for(;n;){if(n.ctx&&"page"===n.ctx.$mpType){const r=_t(t,n);if(r===e||r===o)return!0}n=n.parent}}return!1}function At(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}function xt(t,e){const r=(0,n.getCurrentInstance)(),o=t.name,l=(0,n.inject)(a),s=(0,n.inject)(i),f=(0,n.inject)(u,1),p=(0,n.inject)(c),y=((0,n.computed)((()=>s.value)),(0,n.computed)((()=>(0,n.unref)(f))));return(0,n.provide)(u,(0,n.computed)((()=>y.value+1))),()=>{let t=null;const i=St(p,r),a=l.value[i];if(a){const i=a.matched.length-1-y.value,{record:c,parentMatcher:u}=a.matched[i]||{};if(!c)return At(e.slots.default,{Component:t,route:a});const l=Et(p,a,r),s=t=>{U(p,c._selfId)},f=t=>{$(p,c._selfId,{[o]:t.component?.proxy})},d=t=>{$(p,c._selfId,{[o]:t.component?.proxy})};if(null!=u&&l){const r=c.props[o],i=r?!0===r?a.params:"function"==typeof r?r(a):r:null,{components:u}=c;t=u&&u[o]?(0,n.h)(u[o].component,st({},i,e.attrs,{onVnodeUnmounted:s,onVnodeMounted:f,onVnodeUpdated:d})):null}}return At(e.slots.default,{Component:t,route:a})||t}}const kt={name:"uniSimpleRouterView",props:{name:{default:"default",type:String}},setup:xt},Pt=(0,r(7081).Z)(kt,[["render",function(t,e,n,r,o,i){return null}]]);function Rt(t,e,n){const{historyListen:r}=t.expandOptions.externalHookMethodsMap;let o=null;for(let t=0;t<r.length;t++){const i=r[t],a=i.params[0],c=i.params[1];if(e.fullPath===a&&n.fullPath===c){o={index:t,action:i};break}}const i=function(t,e,n,r){if("/"===n.path&&"/"===n.fullPath&&0===n.matched.length)return"replaceAll";if(r){const t={"":"replaceAll",back:"back",forward:"replace"},{direction:e}=r.action.params[2];return t[e]||"replaceAll"}const o=window.history.state;return o?o.__navType__?v[o.__navType__]:o.__type__?v[o.__type__]:"replace":"replace"}(0,0,n,o);return{browserAction:o,navType:i}}function Tt(t,e,n){window.__UNI_FEATURE_PAGES__=!0,window.__UNI_FEATURE_PULL_DOWN_REFRESH__=!0,function(t,e){const{routes:n}=t.initOptions,r=window.__uniRoutes,o=e.getMatcherMap(),i=[];function a(t){const e=n.filter((e=>e.path==t.path));if(e.length>0)for(const n of e){const{children:e}=n;if(e){const n=S()(e);I(n),t.children=n}}}for(let t=0;t<r.length;t++){const e=r[t];let n=e.path,c=e.alias,u=!1;for(const[t,r]of o){const{pagesPath:t,path:o,name:a,redirect:l}=r.record;if(t&&(n===t||c===t)){if(u){const t={...e,path:o,meta:ht(e.meta)};l&&(t.redirect=l),a&&(t.name=a),delete t.alias,i.push(t)}else e.path=o,a&&(e.name=a),l&&(e.redirect=l),delete e.alias;u=!0}}u||(r.splice(t,1),t--),a(e)}for(const t of i)a(t);r.push(...i),window.__uniRoutes=r.map((t=>(t.meta.route=(t.alias||t.path).slice(1),t)))}(e,t),function(t,e){const n=window.__uniConfig?.tabBar?.list;if(n&&n.length>0){const t=e.getMatcherMap();for(let e=0;e<n.length;e++){const{pagePath:r}=n[e];for(const[o,i]of t){const{pagesPath:t,path:o}=i.record;if("/"+r===t){n[e].pagePath=o.slice(1);break}}}}}(0,t);const{uni_h5:r,routes:o}=e.initEnvOptions.compileOptions;(function(t){const e="uni-simple-router-v3_div";let n=null,r=null,o=null,i="",a=0;function c(t,e,n){"back"!==e.navType&&window.scrollTo(0,0)}function u(e,n){et(t,e,n)}function l(){o=null,r=null}document.addEventListener("touchstart",(t=>{a=0})),document.addEventListener("touchmove",(t=>{a=t.touches[0].pageX})),t.beforeEach(((e,n)=>{const i=t.initOptions.h5?.animation?.animationAppEl,a=i?"string"==typeof i?document.querySelector(i):"function"==typeof i?i(e,n):i:null;a&&(o=a,r=o.cloneNode(!0))})),t.afterEach((async(s,f)=>{if(function(){const t=/(iPhone|iPad|iPod|iOS)/.test(navigator.userAgent);return!!(a<0&&t)}())return l();if(!o||!r)return l();let p=t.initOptions.h5?.animation?.beforeCreate;p=p||c;let y=t.initOptions.h5?.animation?.afterFinish;y=y||u;const d=t.initOptions.h5?.animation?.animationNodeMap,h=t.initOptions.h5?.animation?.defaultAnimationType;let g;if(d){const t="function"==typeof h?h(s,f):h;if(!t)return l();if(g=d[t],!g)return l()}if(t.initOptions.h5?.animation?.includeNavtype?.includes(s.navType)){clearTimeout(n);let a=t.initOptions.h5?.animation?.animationTime||0,c="back"===s.navType?g[1]:g[0];const u=p({animationNode:c,animationTime:a},s,f);if(u&&(a=u.animationTime,c=u.animationNode),!c)return l();const[d,h]=c;if(i=d,o.classList.add(d),o.style.cssText=`\n                // box-shadow: 0 3px 10px rgba(0, 0, 0, .156863), 0 3px 10px rgba(0, 0, 0, .227451);\n                animation-duration: ${a}s;\n            `,h){const t=document.createElement("div");t.classList.add(h),t.style.cssText=`\n                    position: absolute;\n                    top: 0;\n                    left: 0;\n                    width: 100vw;\n                    height: 100vh;\n                    z-index: -1;\n                    animation-duration: ${a}s;\n                `,t.id=e,t.appendChild(r),document.querySelector("body")?.appendChild(t)}n=setTimeout((()=>{!function(t,r=!1){clearTimeout(n),t&&o&&o.classList.remove(t),o&&(o.style.cssText=""),document.querySelectorAll(`#${e}`).forEach((t=>t.remove())),r&&l()}(d,!0),y(s,f)}),1e3*a)}else l()}))})(e),n.use(r,{uniSimpleRouter:e}).mount("#app");const i=n.config.globalProperties.$router;e.initEnvOptions.vueRouter=i,function(t,e){let n=!1;e.beforeEach((async(e,r)=>{n=!1,function(t,e){function n(t){for(const[n,r]of Object.entries(t)){const o=(e=r,y().parse(e));1===Object.keys(o).length&&o[n]?t[n]=o[n]:t[n]=r}var e}n(t.query),n(e.query)}(e,r);const{meta:o,...i}=e;let a="replaceAll";const c=localStorage.getItem(A);x.includes(c)?(localStorage.removeItem(A),a=c):a=Rt(t,e,r).navType;let u=0;try{u=await ut(t,i,a,!0,!1)}catch(t){return!1}return n=1!==u,!0})),e.afterEach(((e,r)=>{const{historyListen:o}=t.expandOptions.externalHookMethodsMap,{browserAction:i,navType:a}=Rt(t,e,r),c=R(t,e,a);if(c.checked){if(c.newWindow&&null!=i){const{action:t,index:e}=i,n=function(t,e){const n=e[2],r=getCurrentPages(),o=t.toRoute,i=o.matched[o.matched.length-1];let a=0;if(1===r.filter((t=>ft(t.route)===i.record.path)).length)a=r.findIndex((t=>ft(t.route)===i.record.path));else{const t=r.reverse().findIndex((t=>ft(t.route)===i.record.path));a=r.length-1-t}const c=r.length-1-a;return n&&"back"===n.direction&&null!=n.delta&&(n.delta=-c,e.splice(2,1,n)),e}(c,t.params);t.method(n),o.splice(e,1)}if(n){const e=z(t,c.toRoute,!0);window.__routerUpdateAction__=()=>{e(),window.__routerUpdateAction__=null}}}}))}(e,i)}function It(t,e){void 0===e&&(e={});for(var n=function(t){for(var e=[],n=0;n<t.length;){var r=t[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)e.push({type:"CHAR",index:n,value:t[n++]});else{var o=1,i="";if("?"===t[c=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(c));for(;c<t.length;)if("\\"!==t[c]){if(")"===t[c]){if(0==--o){c++;break}}else if("("===t[c]&&(o++,"?"!==t[c+1]))throw new TypeError("Capturing groups are not allowed at ".concat(c));i+=t[c++]}else i+=t[c++]+t[c++];if(o)throw new TypeError("Unbalanced pattern at ".concat(n));if(!i)throw new TypeError("Missing pattern at ".concat(n));e.push({type:"PATTERN",index:n,value:i}),n=c}else{for(var a="",c=n+1;c<t.length;){var u=t.charCodeAt(c);if(!(u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||95===u))break;a+=t[c++]}if(!a)throw new TypeError("Missing parameter name at ".concat(n));e.push({type:"NAME",index:n,value:a}),n=c}else e.push({type:"CLOSE",index:n,value:t[n++]});else e.push({type:"OPEN",index:n,value:t[n++]});else e.push({type:"ESCAPED_CHAR",index:n++,value:t[n++]});else e.push({type:"MODIFIER",index:n,value:t[n++]})}return e.push({type:"END",index:n,value:""}),e}(t),r=e.prefixes,o=void 0===r?"./":r,i="[^".concat(Nt(e.delimiter||"/#?"),"]+?"),a=[],c=0,u=0,l="",s=function(t){if(u<n.length&&n[u].type===t)return n[u++].value},f=function(t){var e=s(t);if(void 0!==e)return e;var r=n[u],o=r.type,i=r.index;throw new TypeError("Unexpected ".concat(o," at ").concat(i,", expected ").concat(t))},p=function(){for(var t,e="";t=s("CHAR")||s("ESCAPED_CHAR");)e+=t;return e};u<n.length;){var y=s("CHAR"),d=s("NAME"),h=s("PATTERN");if(d||h){var g=y||"";-1===o.indexOf(g)&&(l+=g,g=""),l&&(a.push(l),l=""),a.push({name:d||c++,prefix:g,suffix:"",pattern:h||i,modifier:s("MODIFIER")||""})}else{var m=y||s("ESCAPED_CHAR");if(m)l+=m;else if(l&&(a.push(l),l=""),s("OPEN")){g=p();var b=s("NAME")||"",v=s("PATTERN")||"",w=p();f("CLOSE"),a.push({name:b||(v?c++:""),pattern:b&&!v?i:v,prefix:g,suffix:w,modifier:s("MODIFIER")||""})}else f("END")}}return a}function Mt(t,e){var n=[];return function(t,e,n){void 0===n&&(n={});var r=n.decode,o=void 0===r?function(t){return t}:r;return function(n){var r=t.exec(n);if(!r)return!1;for(var i=r[0],a=r.index,c=Object.create(null),u=function(t){if(void 0===r[t])return"continue";var n=e[t-1];"*"===n.modifier||"+"===n.modifier?c[n.name]=r[t].split(n.prefix+n.suffix).map((function(t){return o(t,n)})):c[n.name]=o(r[t],n)},l=1;l<r.length;l++)u(l);return{path:i,index:a,params:c}}}($t(t,n,e),n,e)}function Nt(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Ft(t){return t&&t.sensitive?"":"i"}function $t(t,e,n){return t instanceof RegExp?function(t,e){if(!e)return t;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,o=n.exec(t.source);o;)e.push({name:o[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),o=n.exec(t.source);return t}(t,e):Array.isArray(t)?function(t,e,n){var r=t.map((function(t){return $t(t,e,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),Ft(n))}(t,e,n):function(t,e,n){return function(t,e,n){void 0===n&&(n={});for(var r=n.strict,o=void 0!==r&&r,i=n.start,a=void 0===i||i,c=n.end,u=void 0===c||c,l=n.encode,s=void 0===l?function(t){return t}:l,f=n.delimiter,p=void 0===f?"/#?":f,y=n.endsWith,d="[".concat(Nt(void 0===y?"":y),"]|$"),h="[".concat(Nt(p),"]"),g=a?"^":"",m=0,b=t;m<b.length;m++){var v=b[m];if("string"==typeof v)g+=Nt(s(v));else{var w=Nt(s(v.prefix)),O=Nt(s(v.suffix));if(v.pattern)if(e&&e.push(v),w||O)if("+"===v.modifier||"*"===v.modifier){var j="*"===v.modifier?"?":"";g+="(?:".concat(w,"((?:").concat(v.pattern,")(?:").concat(O).concat(w,"(?:").concat(v.pattern,"))*)").concat(O,")").concat(j)}else g+="(?:".concat(w,"(").concat(v.pattern,")").concat(O,")").concat(v.modifier);else"+"===v.modifier||"*"===v.modifier?g+="((?:".concat(v.pattern,")").concat(v.modifier,")"):g+="(".concat(v.pattern,")").concat(v.modifier);else g+="(?:".concat(w).concat(O,")").concat(v.modifier)}}if(u)o||(g+="".concat(h,"?")),g+=n.endsWith?"(?=".concat(d,")"):"$";else{var _=t[t.length-1],S="string"==typeof _?h.indexOf(_[_.length-1])>-1:void 0===_;o||(g+="(?:".concat(h,"(?=").concat(d,"))?")),S||(g+="(?=".concat(h,"|").concat(d,")"))}return new RegExp(g,Ft(n))}(It(t,n),e,n)}(t,e,n)}function qt(t,e){return{record:t,reg:$t(t.path),compile:(n=t.path,function(t,e){void 0===e&&(e={});var n=Ft(e),r=e.encode,o=void 0===r?function(t){return t}:r,i=e.validate,a=void 0===i||i,c=t.map((function(t){if("object"==typeof t)return new RegExp("^(?:".concat(t.pattern,")$"),n)}));return function(e){for(var n="",r=0;r<t.length;r++){var i=t[r];if("string"!=typeof i){var u=e?e[i.name]:void 0,l="?"===i.modifier||"*"===i.modifier,s="*"===i.modifier||"+"===i.modifier;if(Array.isArray(u)){if(!s)throw new TypeError('Expected "'.concat(i.name,'" to not repeat, but got an array'));if(0===u.length){if(l)continue;throw new TypeError('Expected "'.concat(i.name,'" to not be empty'))}for(var f=0;f<u.length;f++){var p=o(u[f],i);if(a&&!c[r].test(p))throw new TypeError('Expected all "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(p,'"'));n+=i.prefix+p+i.suffix}}else if("string"!=typeof u&&"number"!=typeof u){if(!l){var y=s?"an array":"a string";throw new TypeError('Expected "'.concat(i.name,'" to be ').concat(y))}}else{if(p=o(String(u),i),a&&!c[r].test(p))throw new TypeError('Expected "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(p,'"'));n+=i.prefix+p+i.suffix}}else n+=i}return n}}(It(n,r),r)),match:Mt(t.path),parentMatcher:e};var n,r}function Dt(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else if(t.components)for(const r in t.components)e[r]="boolean"==typeof n?n:n[r];return e}async function Ut(t,e,r){t.initEnvOptions.compileOptions=r;const o=t.initOptions.platform;!function(t){b.forEach((e=>{const n=uni[e];t.initEnvOptions.uniMethods[e]=n,uni[e]=(n,r)=>function(t,e,n,r){return t.initOptions.keepUniOriginNav&&!r?(m(`请不用再使用uni-app的跳转方法，推荐你使用插件的API跳转更佳。\n示例:\nthis.$Router.push({\n  path:'/pages/name'\n})\nthis.$Router.pushTab({\n  path:'/pages/name'\n})\nthis.$Router.replace({\n  name:'main'\n})\nthis.$Router.replaceAll({\n  name:'main'\n})\nthis.$Router.back({\n  delta:1\n})\n跳转信息：\n${JSON.stringify(n)}`),t.initEnvOptions.uniMethods[e](n)):"ENFORCE"===r?t.initEnvOptions.uniMethods[e](n):("h5"===t.initOptions.platform&&("navigateBack"===e||"reLaunch"===e&&'{"url":"/"}'===JSON.stringify(n))&&(e="navigateBack",n&&null==n.delta&&(n.delta=1),null==n&&(n={delta:1})),"object"==typeof n&&n.url&&(n.path=n.url),t[v[e]](n))}(t,e,n,r)}))}(t);const u=function(t,e){const r=[],o=new Map;function i(t){return o.get(t)}function a(t){for(let[,e]of o)if(e.record.name===t)return e}function c(t){let e=null;const n=ht(t);if(n.path){const{url:t,query:r}=d(n.path);n.path=t,n.query={...r,...n.query};for(let[,t]of o){const r=t.match(n.path);if(r){e=t,n.params={...r.params,...n.params};try{n.path=t.compile(n.params)}catch(e){for(let e in n.params){const r=n.params[e];if(""===r){delete n.params[e];try{n.path=t.compile(n.params);break}catch(t){n.params[e]=r}}}}break}}}if(null==e&&n.name&&(e=a(n.name),null!=e))try{n.path=e.compile(n.params)}catch(t){e=null}return{matcher:e,cloneOptions:n}}function u(e,n,r=dt()){const o=function(t,e,n){let r,o;function i(t){return r||(t.inPagesJson?"/"+t.realPagePath:void 0)}if("components"in t){if(t.components){o={};for(const[e,n]of Object.entries(t.components)){const{render:t,importPathInfo:a,componentName:c}=n();o[e]={componentName:c,component:t},r=i(a)}}}else if(t.component){const{render:e,importPathInfo:n,componentName:a}=t.component();o={default:{componentName:a,component:e}},r=i(n)}return{_selfId:n?dt():e,_parentId:e,path:t.path,pagesPath:r,redirect:t.redirect,name:t.name,meta:t.meta||{},beforeEnter:t.beforeEnter,props:Dt(t),children:t.children||[],leaveGuards:new Set,updateGuards:new Set,components:o}}(e,r,n);if(n&&o.pagesPath)throw new Error("路由表在设置子路由时请不要在__dynamicImportComponent__函数中添加 pageType:'top' 属性");if(!n&&!o.pagesPath)throw new Error("路由表在设置根路由时请在__dynamicImportComponent__函数中添加 pageType:'top' 属性");if(!n&&"/"!==e.path.slice(0,1))throw new Error(`路由表在设置根路由path时应该为 / 开头，而实际得到的结果为 ${e.path}`);if(o.pagesPath&&o.children.length>0&&t.utils.pagesPathIsTabbar(o.pagesPath))throw new Error(`path:${o.path} 为uni-app原生tabbar\n目前uni-app原生tabbar无法设置嵌套路由，请使用自定义tabbar，配合嵌套路由，效果更佳. `);const a=[o];if("aliasPath"in e){const t=e.aliasPath;a.push(Object.assign({},o,{path:t}))}for(const t of a){const{path:e}=t;if(n&&"/"===e[0]||""===e)throw new Error("路由表在设置子路由时 aliasPath 或 path 不允许设置 / 开头 或 字符串空.");if(n){const r=n.record.path,o="/"===r[r.length-1]?"":"/";t.path=n.record.path+(e&&o+e)}const i=qt(t,n);if(t.children){const t=o.children;for(let e=0;e<t.length;e++)u(t[e],i,r)}s(t,i)}const{name:c,path:f}=o;return()=>l(c||i(f))}function l(t){if(E(t)&&(t=a(t)),!t)return!1;const e=t,{path:n,name:c,children:u}=e.record;if(o.delete(n),c){const t=r.indexOf(c);-1!=t&&r.splice(t,1)}return u.forEach((t=>{const{name:e,path:n}=t;l(e||i(n))})),!0}function s(t,e){const{path:n,name:i}=t;if(i){if(r.includes(i))throw new Error(`设置命名路由时，name是唯一的，当前name已经存在：‘${i}’，你可以选择使用symbol或者更换其它名字`);r.push(i)}o.set(n,e)}return e.forEach((t=>u(t))),{dynamicLocationToRecordMatcher:c,pathToRecordMatcher:i,pathFindRecordMatcher:function(t){for(let[,e]of o){const{path:n,_parentId:r,pagesPath:o}=e.record;if(n===t||o===t)return e}return null},nameToRecordMatcher:a,locationRawToMatched:function(e){let r;if(r=c({path:e.path||"",name:e.name||"",params:e.params||{},query:e.query||{}}).matcher,null==r)return{type:6,msg:"[匹配错误] 异常可能如下：1. name 及 path 在路由表中都未找到，请检查路由配置.2. 动态路由时 未传递有效params导致匹配失败.",from:(0,n.unref)(t.currentRoute)};const o=[];do{o.push(r),r=r.parentMatcher}while(r);return o},addRoute:u,getMatcherMap:function(){return o},removeRoute:l}}(t,t.initOptions.routes),l=(0,n.shallowRef)({path:"/",name:void 0,params:{},query:{},fullPath:"/",matched:[],meta:{},navType:"replaceAll"}),s=(0,n.shallowRef)({});if(t.abstractRoutes=s,t.currentRoute=l,t.initEnvOptions.matcher=u,e.provide(a,s),e.provide(c,t),e.provide(i,l),e.config.globalProperties.$Router=t,Object.defineProperty(e.config.globalProperties,"$Route",{enumerable:!0,get:()=>l}),Object.defineProperty(uni,"$Router",{enumerable:!0,get:()=>t}),Object.defineProperty(uni,"$Route",{enumerable:!0,get:()=>l}),"h5"===o)Tt(u,t,e);else{const n=function(t){const{hotRefresh:e}=t.initOptions;if(e&&e.to&&"development"===e.mode){const n=e.navType?"back"===e.navType?"replaceAll":e.navType:"replaceAll";return()=>t[n](e.to)}return Ot(t)}(t);n().then((()=>{"app"===o?e.mount("#app"):vt(o)&&function(t){const{platform:e}=t.initOptions,{waitRunHooks:n,restoreHokHooks:r}=t.expandOptions;if(vt(e)&&!t._launched){t._launched=!0,n.map((t=>t.runOriginalHook())),t.expandOptions.waitRunHooks=[],r.map((t=>t())),t.expandOptions.restoreHokHooks=[];const e=t.initOptions.applet?.launchedHook;e&&e()}}(t)})).catch((e=>{const{launchedFail:n}=t.initOptions;n&&n(e)}))}}function Bt(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t,listShow:t,reset:function(){t=[]},call:function(...e){for(let n=0;n<t.length;n++){const r=t[n];"function"==typeof r&&r.apply(null,e)}}}}function Ct(t,e){const{name:n}=e,r=t.expandOptions.externalHookMethodsMap;null==r[n]&&(r[n]=[]),r[n].push(e)}class Lt{index;stack;static#t;constructor(){this.stack=[],this.index=-1}push(t){this.stack=this.stack.slice(0,this.index+1).concat(t),this.index++}replace(t){-1==this.index&&(this.index=0),this.stack=this.stack.slice(0,this.index).concat(t)}replaceAll(t){this.index=0,this.stack=this.stack.slice(0,this.index).concat(t)}pushTab(t){this.replaceAll(t)}back(t){const e=Math.abs(t);this.index-=e,this.stack=this.stack.slice(0,this.index+1)}getBackRoute(t,e){const r=Math.abs(e),o=(0,n.unref)(t.currentRoute),i=this.index-r;if(i<0||i>=this.stack.length)return{toRoute:{type:3,msg:`尝试返回页面层级为：${r}层，总历史记录：${this.stack.length}条，当前页面位置第：${this.index}位`,from:o},newWindow:!1,matched:[],checked:!1};const a=this.stack[i];a.navType="back";const c=a.matched[a.matched.length-1];return{toRoute:a,newWindow:o.matched[0].record._parentId!==c.record._parentId,matched:a.matched,checked:!0}}getCurrentLocation(){const t=this.stack[this.stack.length-1];return t?t.fullPath:"/"}}const Ht=["onLaunch","onInit","onLoad","onReady","onHide","onUnload","onShow","beforeCreate","created","beforeMount","beforeUnmount","mounted","unmounted","beforeUpdate","updated"],Wt=["bm","m","bu","u","bum","um","onShow","onHide","onLaunch","onLoad","onReady","onUnload","onInit"];function Gt(t,e,n,r,o){const i="option"===o?n.$options:n.$;null===r?i[e]=t:i[e].splice(r,1,t)}function zt(t,e,n,r,o,i){let a=!1;return"position"===i&&t.expandOptions.restoreHokHooks.push((()=>Gt(e,n,r,o,i))),function(...r){const o=this;if(a&&"option"===i)return void e.apply(o,r);const c={runOriginalHook:()=>{a=!0,e.apply(o,r)},hookName:n};t.expandOptions.waitRunHooks.push(c)}}function Vt(t,e,n,r,o){if(e)if("function"==typeof e){if(e.toString().includes("uni-simple-router-v3"))return;const i=null;Gt(zt(t,e,n,r,i,o),n,r,i,o)}else Array.isArray(e)&&e.forEach(((i,a)=>{if(i.toString().includes("uni-simple-router-v3"))return;const c=zt(t,i,n,r,a,o);e.splice(a,1,c)}))}function Jt(t,e,r){r.setup&&m("setup是个特殊的生命周期，在小程序中它无法被有效控制. 在app.vue下我们推荐你使用选项API代替组合API，因为选项API是完全受控的. 详细见：https://www.hhyang.cn/v2/start/quickstart.html"),e.mixin({onPageScroll(){},beforeCreate(){if(t._launched)return;if("app"!==this.$options.mpType)return;const{platform:e}=t.initOptions;t._patch._ksFirstRedirect&&"mp-kuaishou"===e||function(t,e){for(const n of Ht){const r=e.$options[n];Vt(t,r,n,e,"option")}for(const n of Wt){const r=e.$[n];Array.isArray(r)&&r.forEach(((o,i)=>{const a=zt(t,o,n,e,i,"position");r.splice(i,1,a)}))}}(t,this)},onUnload(){F(t)},async onShow(){const{platform:e}=t.initOptions;t.initOptions.applet.hideHomeButton&&function(t){const{platform:e}=t.initOptions,n={"mp-weixin":"hideHomeButton","mp-alipay":"hideBackHome","mp-toutiao":"hideHomeButton","mp-qq":"hideHomeButton","mp-lark":"hideHomeButton"}[e];try{if(n){const t="undefined"!=typeof window?window:"undefined"!=typeof plus?plus:"undefined"!=typeof wx?wx:"undefined"!=typeof my?my:"undefined"!=typeof qq?qq:"undefined"!=typeof swan?swan:"undefined"!=typeof tt?tt:"undefined"!=typeof ks?ks:null;t&&t[n]()}}catch(t){}}(t);const r="page"!==this.$mpType||"uni-simple-router-v3"===this.$data.__router_main_mark__;if("mp-kuaishou"!==e){if(!t._launched||r)return}else{if(r)return;await function(t=500){return new Promise((e=>{setTimeout((()=>{e()}),t)}))}(10)}const o=getCurrentPages(),i=o[o.length-1],a=ft(i.route),{matched:c}=(0,n.unref)(t.currentRoute),{record:u}=c[c.length-1];u.pagesPath!==a&&(t.utils.pagesPathIsTabbar(a)?G(t,a,"pushTab"):G(t,1,"back"));const{pathFindRecordMatcher:l}=t.initEnvOptions.matcher,s=i,f=l(a);f&&$(t,f.record._selfId,{default:s})}})}function Qt(t){t={navigateLock:{autoUnlock:[0,1,3,4,5,6,7,8,9]},applet:{launchedHook:()=>{},hideHomeButton:!0},...t};const e=Bt(),r=Bt(),o=Bt(),i=Bt(),a={history:new Lt,initOptions:Object.freeze(t),initEnvOptions:{beforeGuards:e,afterGuards:r,resolveGuards:o,errorHandlers:i,vueRouter:null,h5UniRoutes:"h5"===t.platform?S()(window.__uniRoutes):[],matcher:{},uniMethods:{},compileOptions:{}},expandOptions:{currentRouteMap:{},externalHookMethodsMap:{historyListen:[]},waitRunHooks:[],restoreHokHooks:[]},currentRoute:(0,n.shallowRef)({path:"/",name:void 0,params:{},query:{},fullPath:"/",matched:[],meta:{},navType:"replaceAll"}),abstractRoutes:{},_runtimeId:0,_launched:!1,_patch:{_ksFirstRedirect:!1},$lockStatus:!1,beforeEach:e.add,afterEach:r.add,beforeResolve:o.add,onError:i.add,getRouterView:()=>({uniSimpleRouterView:Pt}),externalMethodToCache:Ct,installRouter:Ut,push:t=>ut(a,t,"push"),pushTab:t=>ut(a,t,"pushTab"),replace:t=>ut(a,t,"replace"),replaceAll:t=>ut(a,t,"replaceAll"),back:t=>ut(a,t,"back"),utils:{pagesPathIsTabbar:t=>!1,appletMixins:Jt,locationAppHome:t=>Ot(t),setComponentInstances:$,removeComponentInstances:U,START_LOCATION_NORMALIZED:f}};Object.defineProperty(a,"initEnvOptions",{writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(a,"_runtimeId",{enumerable:!1});const{addRoute:c,removeRoute:u}=function(t){const{platform:e}=t.initOptions;return{addRoute:function(n,r){const{matcher:o,vueRouter:i}=t.initEnvOptions;let a,c;if(E(n)){if(a=o.nameToRecordMatcher(n),!a)throw new Error(`已知路由表中未找到名为：${String(n)} 的父级路由表，无法为它添加子路由`);c=r}else c=n;const u=o.addRoute(c,a,a?a.record._parentId:void 0);return"h5"===e&&function(t,e,n){const{vueRouter:r,h5UniRoutes:o}=t.initEnvOptions,i=[e,n];let a=0,c=e;E(e)&&(c=n,a=1);const u=S()(c);if("/"===u.path.slice(0,1)){const{components:t,component:e}=u;let n="";if(t&&t.default?n="/"+t.default().importPathInfo.realPagePath:e&&(n="/"+e().importPathInfo.realPagePath),n)for(const t of o)if(t.path===n||t.alias===n){delete u.components,u.component={default:t.component},u.loader=t.loader,u.meta=t.meta;break}}I([{...u,children:[u]}]),i.splice(a,1,u),r?.addRoute.apply(r,i)}(t,n,r),u},removeRoute:function(n){const{matcher:r,vueRouter:o}=t.initEnvOptions,i=r.removeRoute(n);return i&&"h5"===e&&o?.removeRoute(n),i}}}(a);return a.addRoute=c,a.removeRoute=u,a.utils.pagesPathIsTabbar=function(t){return e=>-1!=t.initEnvOptions.compileOptions.tabbar.map((t=>"/"+t.pagePath)).findIndex((t=>t===e))}(a),function(t){t.beforeEach((function(e,n){!function(t,e,n){if("h5"!==t.initOptions.platform)return;const r=n.matched[0];if(r){const t=r.record._selfId;K[t]=[window.scrollX,window.scrollY]}}(t,0,n)})),t.afterEach((function(e,n){t._runtimeId++,et(t,e,n),H(t)})),t.onError((function(e){"app"===t.initOptions.platform&&H(t),1===t.initEnvOptions.errorHandlers.list().length&&O(e.msg)}))}(a),a}function Yt(){return(0,n.inject)(c)}function Zt(){return(0,n.inject)(i)}function Xt(t,r,o){const a=(0,n.getCurrentInstance)();if(!a)return void m(`getCurrentInstance() 返回空值. ${t}() 必须在setup函数的顶部调用`);const c=(0,n.inject)(i,{}).value;if(!c)return void m(`调用 ${t}() 时没有找到有效的路由记录。确保在 <simple-router-view> 的子组件中调用此函数。`);const u=a.ctx?a.ctx.route:void 0,l=ft(u);let s=-1;if(null!=u)for(let t=0;t<c.matched.length;t++){const{record:e}=c.matched[t];if(e.path===l||e.pagesPath===l){s=t;break}}else s=0;if(-1===s)return void m(`调用 ${t}() 时没有找到有效的路由记录，可能是一个未捕捉的异常。${e}`);const{record:f}=c.matched[s],p=()=>{f[r].delete(o)};(0,n.onUnmounted)(p),(0,n.onDeactivated)(p),(0,n.onActivated)((()=>{f[r].add(o)})),f[r].add(o)}function Kt(t){Xt("onBeforeRouteLeave","leaveGuards",t)}function te(t){Xt("onBeforeRouteUpdate","updateGuards",t)}const ee="__PLUGIN_U_o512i6vxZPuJplC329yS3FiEcxqc__"})();var i=o.__dynamicImportComponent__,a=o.__plugin_uid__,c=o.checkParentInstance,u=o.componentSetup,l=o.createRouter,s=o.instanceFindParentId,f=o.onBeforeRouteLeave,p=o.onBeforeRouteUpdate,y=o.parserInstance,d=o.routerAbstractRouteskey,h=o.toIsNewWindow,g=o.useRoute,m=o.useRouter,b=o.viewDepthKey;export{i as __dynamicImportComponent__,a as __plugin_uid__,c as checkParentInstance,u as componentSetup,l as createRouter,s as instanceFindParentId,f as onBeforeRouteLeave,p as onBeforeRouteUpdate,y as parserInstance,d as routerAbstractRouteskey,h as toIsNewWindow,g as useRoute,m as useRouter,b as viewDepthKey};